Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: Selecting only certain data
02-18-2008, 01:58 AM #1
Selecting only certain data
Hi, how do I make it so only data with the type column as pictures will be displayed.
In the column 'type' there can either be; Picture, Video, Music or Flash
I only want the rows that contain 'Picture' in the type column to be displayed.
$sql = "SELECT * FROM portal ORDER BY type LIMIT 20";
02-18-2008, 02:11 AM #2
- Join Date
- Dec 2007
- Thanked 890 Times in 879 Posts
Users who have thanked oesxyl for this post:
02-18-2008, 02:23 AM #3