This doesn't have a huge amount to do with PHP
but,
I have the following code for my SQL
query:
$query = "SELECT code FROM links WHERE sort_text = $letter*"; I get an error. What I want to do is be able to specify a letter and have the rest be undefined eg if $letter was t I would get TecEco, Tiny, and Trailer and if $letter was b I would get Basket and Ball. Could any one show me the correct
syntax off their heads?JJ Harrison
|
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php