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' -

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

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -