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

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -