Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more - View Single Post - Displaying data from mysql
View Single Post
Old 10-13-2009, 07:09 AM   #2 (permalink)
CS-Cart
Junior Member
 
Join Date: Oct 2009
Posts: 2
Default Re: Displaying data from mysql

what you need is LIKE

select columnname from table where columnname LIKE 'A%';

you use like instead of = to use a match. The % can represent any number of characters. You can also use * which represents a single character.
CS-Cart is offline   Reply With Quote
Sponsored Links