Thread: Syntax Question
View Single Post

  #1 (permalink)  
Old 05-10-2008
Mtek
 
Posts: n/a
Default Syntax Question

Hi,

I am using an include with a very simple select statement:

$sel = "SELECT type_name FROM customer_types WHERE type_id = ".
$row['customer_type'].\"";
$customer_text = mysql_result(mysql_query($sel),0 ,0);


That is my select statement. I am seeing this error:

PHP Warning: Unexpected character in input: '\\' (ASCII=92) state=1
on line 3

Can someone tell me what is wrong? I need to escape that last double
quote.......

Thanks!
Reply With Quote