On 11/8/05, jmhorvitz <[EMAIL PROTECTED]> wrote: > Hi All, > > 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?? >
It looks like SQL code in your PHP tag. You might want to wrap that in a mysql_query() and go from there. -- Rob Bryant "Be who you are and say what you feel, because those who mind don't matter, and those who matter don't mind." -Theodor Geisel ------------------------ 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/
