gergy008 Posted June 24, 2010 Share Posted June 24, 2010 $sql="INSERT INTO `payload`(`name`, `desc`, `salt`, `cat`) VALUES($filename, $filedesc, $filesalt, $filecat);"; $run=mysql_query($sql, $link) or die(mysql_error()); This code is stopping PHP loading. Anythin in the script before these lines still won't run. IF I comment these line out, The code before these lines will run. Can anyone hlp? Link to comment https://forums.phpfreaks.com/topic/205791-this-is-causing-a-wierd-problem/ Share on other sites More sharing options...
rondog Posted June 24, 2010 Share Posted June 24, 2010 try this $sql = "INSERT INTO `payload`(`name`, `desc`, `salt`, `cat`) VALUES ('$filename', '$filedesc','$filesalt', '$filecat')"; I actually done even use the ` character and my queries work fine. Link to comment https://forums.phpfreaks.com/topic/205791-this-is-causing-a-wierd-problem/#findComment-1076890 Share on other sites More sharing options...
PFMaBiSmAd Posted June 24, 2010 Share Posted June 24, 2010 Do you know for a fact that the php mysql extension is loaded on your server? Are you doing this on a server with error_reporting set to E_ALL and display_errors set to ON so that all the php errors would be reported and displayed? Link to comment https://forums.phpfreaks.com/topic/205791-this-is-causing-a-wierd-problem/#findComment-1076896 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.