blueman378 Posted December 2, 2007 Share Posted December 2, 2007 hi there, can someone please fix this: mysql_query("INSERT INTO `games`.`games` (gName, gDescription, gSwfFile, gThumb) VALUES ('$_POST["name"]', '$_POST["desc"]', '$_POST["gamefiles"]', '$_POST["thumbfiles"]')"); its the order of the "" and '' thats causing probs, so could u please fixit and tell me why each one is like that, :Note the fact i actually wanna learn why/how not just get it fixed, cheers Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted December 2, 2007 Share Posted December 2, 2007 It will be easy to find and fix this way ; <?php mysql_query("INSERT INTO `games` ( `gName`, `gDescription`, `gSwfFile`, `gThumb` ) VALUES ( '$_POST["name"]', '$_POST["desc"]', '$_POST["gamefiles"]', '$_POST["thumbfiles"]' ) ") or die("Your have an error because:<br />" . mysql_error()); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.