How to display mysql rows that contain certain data?
Posted
by user272899
on Stack Overflow
See other posts from Stack Overflow
or by user272899
Published on 2010-03-26T18:05:11Z
Indexed on
2010/03/26
18:13 UTC
Read the original article
Hit count: 161
I have a table in mysql with a row called 'newrelease'. If the item is a new release my form posts it as 'yes' if no 'no'.
How would i display all items that contain the data 'yes'?
$query = "SELECT * FROM movielist ORDER BY newrelease DESC LIMIT 4";
© Stack Overflow or respective owner