WHERE in Ajax

WHERE in Ajax

jarg5487jarg5487 Posts: 8Questions: 0Answers: 0
edited November 2012 in General
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

Replies

  • allanallan Posts: 63,532Questions: 1Answers: 10,475 Site admin
    Add it to the part of the script where the `WHERE` section is built up. Around line 100.

    Allan
This discussion has been closed.