Re: unexpected t varable
| From: | Gary | Date: | Sat, 05 Oct 2002 21:21:18 +0000 |
| Subject: | Re: unexpected t varable | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118968@lists.php.net to get a copy of this message | ||
Marek Kilimajer wrote:
Sorry, my fault, I forgot ) before {, This line is right: if( $res->numRows() ) {Yeah, I figured it out after walking away from it for a while if( $res->numRows() > 0) { while ($row = $res->fetchRow()){ $id = $row[0];
$question = $row[1];$responce1 = $row[2]; $responce2 = $row[3]; $responce3 = $row[4]; } }else{ echo"bla bla"; } ?> now I have to post again on a strange row problem. Thank Gary