![]() |
lefty 2/12/2017 |
I am trying to lookup a table and filter on the following: (com_type = 'Vendor' AND global=1) or (com_type = 'Vendor' AND propertyid = " . $_SESSION[$strTableName."_masterkey1"]) I want to display company names where the com_type = "Vendor" and are either global or specific to the property. I am able to filter the com_type and global successfully:
|
A
|
admin author 2/13/2017 |
This might help " . $_SESSION[$strTableName.'_masterkey1']" // for numeric '" . $_SESSION[$strTableName.'_masterkey1']" . "'" // text |
A
|
admin author 2/13/2017 |
This might help " . $_SESSION[$strTableName.'_masterkey1']" // for numeric '" . $_SESSION[$strTableName.'_masterkey1']" . "'" // text
|
![]() |
Sergey Kornilov admin 2/13/2017 |
You need to concatenate string and PHP variables properly. The following part is definitely incorrect: . $_SESSION[$strTableName."_masterkey1"])
. $_SESSION[$strTableName."_masterkey1"] . ") |
A
|
admin author 2/13/2017 |
You need to concatenate string and PHP variables properly. The following part is definitely incorrect: . $_SESSION[$strTableName."_masterkey1"])
. $_SESSION[$strTableName."_masterkey1"] . ")
|