Hi,
I'm using PHP to pull information out of my MySQL database - although its
not entirely working.
Here is the line:
$result = mysql_query("SELECT * FROM comcal2001 WHERE id=$id and
EventMonth='May'",$db);
What I'd like this to do is select all the fields in my database where the
month = May and display them on the screen. However, it displays every field.
Could someone shed some light on this for me?
Thanks
-Tim
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php