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 Link to comment https://forums.phpfreaks.com/topic/79809-solved-stil-dont-get-how-to-do-the-and-quick-fix/ 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()); ?> Link to comment https://forums.phpfreaks.com/topic/79809-solved-stil-dont-get-how-to-do-the-and-quick-fix/#findComment-404163 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.