note 63692 added to control-structures.while
| From: | geburha at deniedesignz dot com | Date: | Tue, 28 Mar 2006 14:28:27 +0000 |
| Subject: | note 63692 added to control-structures.while | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-106849@lists.php.net to get a copy of this message | ||
hey guys im owndering how i would add 2 mysql queries in a while() function currently i have;
while($rowc= mysql_fetch_array($getcomments) and $rowd= mysql_fetch_array($getuser)), And its not
working it says; Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
resource in /home/geburha/public_html/version2/news_comments.php on line 201.
Can anyone help me?
----
Server IP: 216.194.113.175
Probable Submitter: 70.88.252.1
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/control-structures.while.php
Edit -- http://master.php.net/note/edit/63692
Del: integrated -- http://master.php.net/note/delete/63692/integrated
Del: useless -- http://master.php.net/note/delete/63692/useless
Del: bad code -- http://master.php.net/note/delete/63692/bad+code
Del: spam -- http://master.php.net/note/delete/63692/spam
Del: non-english -- http://master.php.net/note/delete/63692/non-english
Del: in docs -- http://master.php.net/note/delete/63692/in+docs
Del: other reasons-- http://master.php.net/note/delete/63692
Reject -- http://master.php.net/note/reject/63692
Search -- http://master.php.net/manage/user-notes.php