PHP Function List
mysql_query() doesn't exist. Closest matches:
- mysql_query
- msql_query
- mssql_query
- mysql_db_query
- msql_db_query
- fbsql_query
- sqlite_query
- sqlsrv_query
- mysqli_slave_query
- mysqli_master_query
- fbsql_db_query
- mysql_errno
- cyrus_query
- mysql_error
- solrquery
- mysql_unbuffered_query
- mysqli_driver
- msql_error
- mysql_fetch_array
- mysql_num_rows
Site Search Results
-
mysql_query() 向与指定的连接标识符关联的服务器中的当前活动数据库发送一条查询。如果没有指定 link_identifier,则使用上一个打开的连接。如果没有打开的连接,本函数会尝试无参数调用 ...
-
mysql_unbuffered_query - Manualmysql_unbuffered_query (PHP 4 >= 4.0.6, PHP 5) mysql_unbuffered_query — 向 MySQL 发送一条 SQL 查询,并不获取和缓存结果的行
-
Here is a function for preventing a MySQL query timeout. Add a temporary table to the database: CREATE TABLE `temp_table` ( `ID` DOUBLE , `temp` BLOB ); Call this function in every iteration of any long loops in your code (it will only be run at a ...
-
$resultset = new mysql_resultset(mysql_query($sql)); while ($drow = $resultset->fetch()) { echo 'No.: '.$drow['orders']['number'].'<br>'; echo 'Client: '.$drow['clients']['name'].'<br>'; echo 'Product: '.$drow['products']['name'].'<br>';
-
function dumpquery($query) { $numfields = mysql_num_fields($query); echo '<table border="1" bgcolor="white"><tr>'; for ($i = 0; $i<$numfields; $i += 1) { $field = mysql_fetch_field($query, $i);
-
$objRS = mysql_query ($strSQL, $objMySQL_Read); //returns data from slaves $strSQL = "INSERT INTO " . DB_NAME . "." . "tbl1 (col1,col2) VALUES (val1,val2)"; mysql_query ($strSQL); //expected behavior, to insert the last statement into the master db, since it ...
-
$query = mysql_query("SELECT COUNT(*) FROM table"); $query = mysql_query("SELECT LAST_INSERT_ID()");... you would use mysql_result() like shown below to retrieve the output as an int. $result = mysql_result($query, 0, 0);
-
mysql_query ('UPDATE types SET type = "Digit" WHERE type = "Number"'); echo mysql_affected_rows () . '<br>'; mysql_query ('DELETE FROM types WHERE type = "Letter"'); echo mysql_affected_rows () . '<br>';?> Each query actually affects 3 rows (= 1 type + 2 symbols ...
-
// This shows the actual query sent to MySQL, and the error. Useful for debugging. if (! $result) { if($b_debugmode){ $message = '<b>Invalid query:</b><br>' . mysql_error () . '<br><br>'; $message .= '<b>Whole query:</b><br>' .
-
query The MySQL query. Data inside the query should be properly escaped. link_identifier The MySQL connection. If the link identifier is not specified, the last link opened by mysql_connect() is assumed.

Other forms of search
To search the string "mysql_query()" using other options, try searching:
- Only the documentation
- Only this mirror
- The entire php.net domain
- pear.php.net
- pecl.php.net
- The Bug DB
- php-general mailing list
- Internals mailing list
- Documentation mailing list
For a quick overview over all documented PHP functions, click here.
