PHP MySQL: MySQL Syntax OrdersTag: mysql, database, syntax Category: PHP Database post: 02 Mar 2008 read: 1,112
php mysql basic step by step tutorial - part 7: PHP do not provide special functions for data operation, so the sintaks weared is MySQL sintaks orders. In order to do the data operation by using PHP, so here is the sequence as follow:
- Connection to database
- Declare a variable string that contains of the next MySQL syntax order
- Run the MySQL syntax by using of mysql_query() function. If the syntax will produce the next output, declaration one variable to accomodate the result
- Take the result of the run MySQL syntax by using the functions of mysql_fetch_array(), mysql_fetch_row(), mysql_num_rows, etc. It depends to the output wanted format
|
|
| Give Your Opinion | Recommend
|