2uzhan.com
Advertisement
Now Place:2uzhan.com » Accessing 2 tables - help rqd

Accessing 2 tables - help rqd

PHP @ December 31, 1969   Views:0

Hey,

I have 2 tables in one db which I want to pull data from.

PHP Code:

$query = mysql_query("SELECT * FROM clientlogic.outgoing_mail, clientlogic.incoming_mail where `date` = '$year-$month-$day' group by `agent`");
while ( $r = mysql_fetch_array($query) )
{$agent = $r["agent"]; 

I am attempting to build a list of agents. Is this possible?

--------------Solutions-------------

Tags:
© 2018 2uzhan.com Contact