$id = $myrow[0];
$gametitle = $myrow[1];
$code = $myrow[2];
$name = $myrow[3];
$timepost = $myrow[4];
$system = $myrow[5];
$gameid = $myrow[7];
$cheattype = $myrow[8];
$ssql = "INSERT INTO cheats (gametitle,code,name,timepost,system,gameid,cheattype) VALUES ('$gametitle','$code','$name','$timepost','$system','$gameid','$cheattype')";
$ssql = htmlspecialchars($ssql);
$ssql = str_replace("\n", '\n', $ssql);
echo "$ssql\n";
which is apparently the wrong way to code it...
not sure how to do it.
thanks again, sorry for the troubles.