Re: looking for a variable
| From: | Robbie Staufer | Date: | Thu, 06 May 2004 18:07:19 +0000 |
| Subject: | Re: looking for a variable | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-34288@lists.php.net to get a copy of this message | ||
I'm formatting the display in a browser window. I need the second and consecutive elements to be indented below the first one.
Something like this:
echo "element 0"
foreach additional element
echo "tab","element"Thanks, Robbie Bruno Ferreira wrote:
Robbie Staufer wrote:-- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Robbie Staufer NCAR/SCD 1850 Table Mesa Dr. Rm. 42 Boulder, CO. 80305 (303) 497-1836Hi, 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]