PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
$my_sql = "SELECT * FROM `my_leads` WHERE (`read`='0' AND `owner_id`='".$my_id."')";
$my_sql = "SELECT * FROM my_leads WHERE (read=0 AND owner_id=".$my_id.")";
I have used syntax similar to the second statement for a while now and it has been working. All of a suddden today, everything is no longer working and I think this is the problem. Does it have anything to do with the way the tables are set up?