WHERE in Ajax
WHERE in Ajax
Hi,
I have a new problem. I need get the data from Agent Table Where AccountStatus = "Paid". Where I can put the query "WHERE".
[code]
$aColumns = array("AgentID","ContactName","CompanyName","(SELECT StateName FROM StateOrProvince WHERE Agent.State = StateId)","RecurringBilling","Email","PhoneNumber");
$sIndexColumn = "AgentID";
$sTable = "Agent";
[/code]
Thanks
I have a new problem. I need get the data from Agent Table Where AccountStatus = "Paid". Where I can put the query "WHERE".
[code]
$aColumns = array("AgentID","ContactName","CompanyName","(SELECT StateName FROM StateOrProvince WHERE Agent.State = StateId)","RecurringBilling","Email","PhoneNumber");
$sIndexColumn = "AgentID";
$sTable = "Agent";
[/code]
Thanks
This discussion has been closed.
Replies
Allan