Hi All,

Sorry if this question has been posted a gazillion times but I 
am "trying" to build a search engine in Dreamweaver using PHP. I 
have a database of 100 or so music artists and I wanted a search 
alphabet bar across the top with links to each letter. If I wanted a 
artist that starts with the letter L I would click on the L link and 
it would show just the L's. Right now I have it working so it shows 
the entire database 10 records at a time.

When I try the code"
<a href="<?php SELECT artist_name FROM artist WHERE artist_name 
LIKE 'L%' ?>" />L</a> blah blah I get the following error:

Parse error: parse error, unexpected T_STRING in.....

Any suggestions??

Thanks

Jay








------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to