Re: [PHP] (newbi)mySQL query question

2002-05-18 Thread The_RadiX
PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 18, 2002 11:27 PM Subject: [PHP] (newbi)mySQL query question 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*";

[PHP] (newbi)mySQL query question

2002-05-18 Thread webmaster
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 TecE