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

Google sheets equipment borrowing system -

c# - Ploeh AutoFixture was unable to create an instance from System.Runtime.Serialization.ExtensionDataObject -