thanks vincent, i've figured out that question myself, now, i have another question, i want the search to fullfill another argument, the search only list surname from category=male only.
i have tried the following code, but it doesn't work properly.
$searchfor='A';
"SELECT Singer, FirstName, LastName, Category FROM album WHERE category='male', LastName LIKE '$searchfor%' ";
please advise, thanks