SQL help??
ive got a web page where i want to display records from my SQL database in alphabetical categories.
I select a letter from a drop down menu, click find records and then a list of records begining with the chosen letter are displayed.
does anyone kno the SQL code i need to use to get this information
so far ive got
$letter = $_POST['letter'];
$query = "SELECT * FROM dbname WHERE name LIKE '[$letter]'";
any ideas
Thanks
ASH:D
__________________
My new web design domain
www.askmultimedia.co.uk
|