mysql_query( <mysql>, <statement> )


Module: MySQL

Summary:

Executes the SQL statement. Returns 0 for success or an error code.



Example:

query = mysql_query( mysql_handler, "SELECT * FROM table");



Required Args:

  • 1 : <mysql> MYSQL connection handler
  • 2 : <statement> SQL statement