The basic code I have to select the records I require is
mysql_query('SELECT * FROM my_table WHERE field2 = "Associations" ORDER BY field1');
Can you please let me know how I modify this so that it only returns those records where field1 starts with the letter A, letter B, etc?
I suppose I just need some help with the way wildcards are used.
Thanks,
James


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks