Hey guys..
i need some help.. lets say i have a table and i have a column called 'brand'. Then for each record, for brand name i put say Nokia, Apple etc.

i want it so that i can create a php page that displays records with only brand = Nokia..

is this possible? if so, how?

thanks a lot :D

Recommended Answers

All 2 Replies

When you select your data from the database use a WHERE clause to specify only rows that have a matching value in a particular column.

SELECT * FROM table1 WHERE brand = 'Nokia';

omg THANKS !!!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.