PHP gevorderde |
|
Die regel 37 is verbeterd alleen nog een probleem met regel 64
EDIT
Als ik inlog op mijn website krijg ik deze errors:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in D:\Web Server\home\siteinfo.php on line 51
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\Web Server\home\siteinfo.php on line 64
Warning : mysql_num_rows(): supplied argument is not a valid MySQL result resource in D :\Web Server\home\siteinfo .php on line 64
lijn 50-52:
<?php
} else {
$QueryUpdate = mysql_query ( "UPDATE online SET location='".mysql_real_escape_string($_SERVER['REQUEST_URI'])."', time = '".mysql_real_escape_string($time)."', id = '".mysql_real_escape_string($id)."', username = '".mysql_real_escape_string($username)."' WHERE ip = '" . mysql_real_escape_string($_SERVER['REMOTE_ADDR'])."'" ) or die ( mysql_error());
}
?>
|