Re: About mysql
| From: | MD | Date: | Wed, 04 Apr 2001 09:17:07 +0000 |
| Subject: | Re: About mysql | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6488@lists.php.net to get a copy of this message | ||
Honestly, it is hard to understand the question but if you are asking how to
obtain more than 1 result set out of a mysql_query I suggest
mysql_fetch_row.
example:
$query = mysql_query("SELECT * FROM TableName", $conn);
while($query_data = mysql_fetch_row($query))
{
echo("Value1:" . $query_data[0]);
echo("Value2:" . $query_data[1]);
}
"yanshuldg" <yanshuldg@etang.com> wrote in message
news:20010403110518.010B71CC01004@mail.etang.com...
> There're two result sets of the same structure created by mysql_query(),
> How can I combine them into one?
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>