I want to use the string ( echo $row['en']; ) in the select command in the where parameter of subject :
$sql="SELECT * FROM uploaded WHERE sbid='".$newid."' AND subject = **HERE** ;
and thanks :)
I want to use the string ( echo $row['en']; ) in the select command in the where parameter of subject :
$sql="SELECT * FROM uploaded WHERE sbid='".$newid."' AND subject = **HERE** ;
and thanks :)
You can build the SQL query like this:
$sql = "SELECT * FROM uploaded WHERE sbid = $newid AND subject = '{$row['en']}'";
However, it is usually not safe to build SQL query like this because it might be vulnarable to SQL injection.