Actually he shouldn't have to concatenate the string. That is the whole point of using double quotes in php, so you can insert variables straight into a string without extra syntax. So this should work: (but then again you never know

)
CODE
$sql = "SELECT * FROM `clan_name` WHERE `clan_name` = $clan_select";
My next question is: You gave us the field names of a table in your database. What is the table name? If it is the same as a field in the table I suggest you change it to something else to eliminate possible confusion. Now lets look at the sql statement again.
CODE
$sql = "SELECT * FROM `clan_name` WHERE `clan_name` = $clan_select";
means (this is not code, just for explanation):
$sql = "SELECT allvalues FROM tablename WHERE fieldname isexactlythesameas $clan_select";
So you might wanna go back to using LIKE in case the value in the database is not exactly the same as the value assigned in the form. Also lets make sure about the table name.
PS READ THIS:
I just noticed that I don't see where you actually made your query in the code you supplied. Do you actually have:
CODE
$result = mysql_query($sql);
in your code? Because it definitly won't work if you don't execute the query.
This post has been edited by DanceInstructor: 22 Apr, 2005 - 12:45 PM