Forums

PHP

This topic is locked

php show if both from 2 recordsets.

Posted 22 Jan 2005 01:32:46
1
has voted
22 Jan 2005 01:32:46 Chase Chase posted:
im trying to set up a page that only shows data from one record set if a varible from a diffrent record set is = that a varible in the first record set. but i dont know how to set it up like that. here is what i tried, but it didnt work

if ($row_data['idc'] == $row_cat['idp']){ ?>

Replies

Replied 22 Jan 2005 05:08:02
22 Jan 2005 05:08:02 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>im trying to set up a page that only shows data from one record set if a varible from a diffrent record set is = that a varible in the first record set. but i dont know how to set it up like that. here is what i tried, but it didnt work

if ($row_data['idc'] == $row_cat['idp']){ ?&gt;<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Check the order of which the Recordsets are processed. Also vars.

Is there more info? Like, Recordset and page flow example.

Reply to this topic