Communicate with a Database through PHP MySQL Functions

PHP communicates with MySQL databases by using a set of functions developed specifically for this purpose. This list shows the syntax of these frequently used functions.


mysqli_connect("host","accnt","passwd")
mysqli_select_db($cxn, "dbname",)
mysqli_query($cxn,"query")
mysqli_fetch_assoc($result)
mysqli_num_rows($result)
mysqli_insert_id($cxn)








dummies

Source:http://www.dummies.com/how-to/content/communicate-with-a-database-through-php-mysql-func.html

No comments:

Post a Comment