I have a column in my data base called end_date, there could be 2 data types in this column
or it could be simply
My query looks like this
"SELECT room_id FROM child_room WHERE child_id='".$id."' AND end_date > ".$today." Or end_date = '0000-00-00'"
There are multipul entris in the DB for each child so I need the current used row for that child.
The query fails.
Can you see whats wrong