Jump to content

[SOLVED] Query error


ninedoors

Recommended Posts

I get an error when I run this query:

 

mysql_query("INSERT INTO gallery_photos (photo_filename, photo_caption, photo_category ) VALUES ('0', '" . $photo_captions[$counter]) . "', '" . $_POST['category'] . "')");

 

This is the error I get:

 

Parse error: syntax error, unexpected ')' in /home/bigc/public_html/photos/upload.php on line 32

 

I can't see then extra ')'.

 

Nick

Link to comment
https://forums.phpfreaks.com/topic/106204-solved-query-error/
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.