Jump to content

[SOLVED] Help on Array Please


BrianM

Recommended Posts

Here is my code:

<?php
$result = mysql_query("SELECT Date FROM $table id=$id") or die(mysql_error());
?>

 

And here is the error I'm receiving:

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '08-1111-E id=1' at line 1

 

Can anyone tell me what is wrong?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/113493-solved-help-on-array-please/
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.