Something like this:
echo "element 0"
foreach additional element
echo "tab","element"
Thanks, Robbie
Bruno Ferreira wrote:
Robbie Staufer wrote:
Hi,
In a statement like:
$result = mysql_query ("SELECT * FROM testdb WHERE Code_Name IN ('CLM', 'CAM', 'CSIM', 'cpl5', 'POP')",$connection)
is there a php variable that holds the number of elements in the () after IN?
No :\
What did you want to do with that number? Maybe there is some other way around....
Bruno Ferreira --- [This E-mail scanned for viruses by Declude Virus]
-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Robbie Staufer NCAR/SCD 1850 Table Mesa Dr. Rm. 42 Boulder, CO. 80305 (303) 497-1836
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php