$#@60;? If($Picture != "none") { $PSize = filesize($Picture); $mysqlPicture = addslashes(fread(fopen($Picture, "r"), $PSize)); mysql_connect($host,$username,$password) or die("Unable to connect to SQL server"); @mysql_select_db($db) or die("Unable to select database"); mysql_query("INSERT INTO Images (Image) VALUES ($mysqlPicture)") or die("Cant Perform Query"); } else { echo"You did not upload any picture"; } ?$#@62;
$#@60;HTML$#@62; $#@60;BODY$#@62; $#@60;? mysql_connect($host,$username,$password) or die("Unable to connect to SQL server"); @mysql_select_db($db) or die("Unable to select database"); $result=mysql_query("SELECT * FROM Images") or die("Cant Perform Query"); While($row=mysql_fetch_object($result)) { echo "$#@60;IMG SRC=\"Second.php3? PicNum=$row-$#@62;PicNum\"$#@62;"; } ?$#@62; $#@60;/BODY$#@62; $#@60;/HTML$#@62;