RE: [PHP-DB] QoQ how? 2 seperate datasources/conections
| From: | Paul Ihrig | Date: | Fri, 16 May 2003 14:23:55 +0000 |
| Subject: | RE: [PHP-DB] QoQ how? 2 seperate datasources/conections | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27824@lists.php.net to get a copy of this message | ||
scratch that
i cant.. they have to remain seperate..
so my only action is below::?
seems like it would be SO much easier to creat a new query that joins the 2
other queries??
is that possible in php???
<?php do { ?>
<?php if (!(strcmp($row_rsForumUser['ID_MEMBER'],
$row_rsMember['ID_MEMBER'])))
{ echo "<img width=\"80\" height=\"80\" src=\""; echo
$row_rsForumUser['avatar']; echo "\"\>";}
?>
<?php
} while ($row_rsForumUser = mysql_fetch_assoc($rsForumUser));
$rows = mysql_num_rows($rsForumUser);
if($rows > 0) {
mysql_data_seek($rsForumUser, 0);
$row_rsForumUser = mysql_fetch_assoc($rsForumUser);
}
?>