Jump to content

PHP coding help .. ? query and if statements playing up


joshstevens19

Recommended Posts

 

You added a second mysql_query in there. Do this...

 $sqlinsert = "INSERT INTO reviews (`SHOWTITLE`, `SHOWREVIEW`) VALUES('$showtitle', '$showreview')";

$query = mysql_query($sqlinsert);
    
    if (!query) {
        echo "error inserting new record" . mysql_error(); 
    }

BOOM fixed thanks man!!!! you superstar

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.