$name='john_doe';
$name=str_replace('_','\_',$name);
$sql="select * from table where customer='".$name."'";
in the table, i have john_doe, john_smith, etc.
I am not getting the expected result?




Posted 09 January 2013 - 05:47 PM
Posted 09 January 2013 - 08:14 PM
AdaHacker, on 09 January 2013 - 05:47 PM, said:
Posted 10 January 2013 - 04:36 PM
g37752, on 09 January 2013 - 08:14 PM, said:
|
|
Query failed: connection to localhost:3312 failed (errno=111, msg=Connection refused).
|
