24 October 2010

Some useful PHP MYSQL functions

PHP MYSQL functions helps to connect to the database in MySQL software.
These are some of the most frequently used function names :

mysql_connect — Open a connection to a MySQL Server

mysql_create_db — Create a MySQL database

mysql_error — Returns the text of the error message from previous MySQL operation

mysql_fetch_array — Fetch a result row as an associative array, a numeric array, or both

mysql_num_rows — Get number of rows in result

mysql_query — Send a MySQL query

mysql_tablename — Get table name of field

mysql_close — Close MySQL connection

(If you found this article useful then share with your friends.)

No comments: