Posts: 876
Name: Matt Pealing
Location: England, north west
|
Code:
$sql=mysql_query("SELECT * FROM photos WHERE default='0'");
I keep getting a MySQL error!!! I dont know why, because in my table 'photos', I have a field called 'default', and each row for it has a value of either 0 or 1.
|