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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

java - Log4j2 configuration not found when running standalone application builded by shade plugin -

python - How do I create a list index that loops through integers in another list -