resource mysql_query ( string $query [, resource $link_identifier = NULL ] )
Send a MySQL query
mysql_query() sends a unique query (multiple queries are not supported) to the currently active database on the server that's associated with the specified link_identifier.
<?php
$result = mysql_query('SELECT * WHERE 1=1');
if (!$result) {
die('Invalid query: ' . mysql_error());
}
?>
PHP - Basic MySQL Injection
0 Comment:
Post a Comment