Hi,
I have 5 tables which keep th details for 5 packages for a company...
a company may add however many packages they wish.

When a company logs in I want to be able to tell them:

you have $numberOfPackages entered:
package1 $one
package2 $two
package3 $three
package4 $four
package5 $five

instead of running 5 "$result = "SELECT  count(*) FROM mylist_slave WHERE
ptype =$inn  and user='".$my_user."' and cno='".$my_ccno."'";

is there any any way to select all 5 differient tables in one select
count(*) statement?

Thanks,
-Ryan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to