note 111325 added to function.mysql-fetch-array
| From: | rami | Date: | Thu, 07 Feb 2013 04:54:59 +0000 |
| Subject: | note 111325 added to function.mysql-fetch-array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193547@lists.php.net to get a copy of this message | ||
hi this codes what problem?:
<?php
include 'config.php';
$result1=mysql_query("SELECT * FROM subject");
$result2=mysql_query("SELECT * FROM text");
while($row=mysql_fetch_array($result1).$row2=mysql_fetch_array($result2))
{
echo "<br/>subject:".$row["subject"].$row2["text"];
}
?>
please answer me
thanks
----
Server IP: 69.147.83.199
Probable Submitter: 5.52.47.77
----
Manual Page -- http://php.net/manual/en/function.mysql-fetch-array.php
Edit -- https://master.php.net/note/edit/111325
Del: integrated -- https://master.php.net/note/delete/111325/integrated
Del: useless -- https://master.php.net/note/delete/111325/useless
Del: bad code -- https://master.php.net/note/delete/111325/bad+code
Del: spam -- https://master.php.net/note/delete/111325/spam
Del: non-english -- https://master.php.net/note/delete/111325/non-english
Del: in docs -- https://master.php.net/note/delete/111325/in+docs
Del: other reasons-- https://master.php.net/note/delete/111325
Reject -- https://master.php.net/note/reject/111325
Search -- https://master.php.net/manage/user-notes.php