php - Unknown column in where clause -


this script supposed retrieve customerid customer_first_name , customer_last_name has been entered form.

$query  = "select customerid customer customer_first_name = `.$db_customer_first_name.` , customer_last_name = `.$db_customer_last_name.`"; $result = mysql_query($query) or die(mysql_error()); echo $result; echo $query; 

when script runs error:

unknown column '.christopher.' in 'where clause'

the query never printed on screen.

any appreciated.

your quotes bad use ' instead of tick `


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -