Hi,
I am very new in PHP. I am trying to make a page which takes input from user and a php file will parse the same. In sql query there are two parameter one is of int data type and other one is varchar. It takes the correct input from the 1st page but the value for varchar field is not coming in double or single quotes [" ",' '] thats why mysql does not parse the data. My sql query is as below.
$query= "select * from person where emp_id=" . $_POST['user'] . " and description=" . $_POST['user1'] . "";
Please suggest,