Jump to content

Problem inserting value from html page


fisher7679

Recommended Posts

The data is passing as I can echo it. The issue I am having is in these to lines I suspect.

 

 

$name= mysql_real_escape_string($_POST['name']);
$data = mysql_query ('SELECT * FROM `my_data` WHERE `value` LIKE CONVERT(_utf8 \'%$name%\' USING latin1) COLLATE latin1_swedish_ci');
 
My issue is I need to be able to use the $name result in the $data string. I however am unable to do this. Is there a way to accomplish this?
 
Thank you in advance for any help you can give.
Link to comment
https://forums.phpfreaks.com/topic/275958-problem-inserting-value-from-html-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.