Posted by Akhenaten on 11/20/06 17:24
The following snippet (for whatever reason) returns no value for the count. Suggestions? $arr = array ("A", "B", "C", "D", "E"); foreach ($arr as $client) { $count = mysql_query('SELECT COUNT(*) from table where columnA = $client'); echo "$client has $count"; echo '<br>'; }
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming