php - Please help out of this error if i am using union than got a error me -


this question has answer here:

$sql_new=$sql1. union .$sql2; 

this expression gives following error notice:

use of undefined constant union - assumed 'union' in php

$sql_new=$sql1 . " union " . $sql2; 

you have put strings quotes php knows it's string.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -