i have a table called username which has for example John Doe
and i want to get this value in a php action for $username! I use this
mysql_query("SELECT * FROM photos WHERE username = '$username'");
it works fine. Im using this for a searchfield to return different Users and their profile.
The question is, how can i search with eg only the first name John
and he gives me John Doe
back.
I dont want to create a first and last name!
Thanks Ted