Jump to content

[SOLVED] having a bad day


beansandsausages

Recommended Posts

I think read is a reserved keyword not too sure. also your forgetting your quotes

 

this

$sql = "SELECT * FROM `post_box` WHERE read=N AND name=chris "; 

 

should be

 

$sql = "SELECT * FROM `post_box` WHERE `read`='N' AND `name`='chris' "; 

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.