HTTP_GET_VARS["id"] is probably empty so this won't work, stick a $ in front of it.
> -----Original Message----- > From: Leif K-Brooks [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 12:38 PM > To: Tim Haskins > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] dynamic IF statement > > > If I understand you right, you want: > > if (HTTP_GET_VARS["id"] == $row_rsProducts['prID']){ > ...do stuff... > } > > > Tim Haskins wrote: > > >How does one create a statement that basically says: > > > ><?php if (HTTP_GET_VARS["id"] == "<?php echo > $row_rsProducts['prID']; ?>" ) > >{ ?> > > > >Basically, I want to say, "show if url value is equal to this database > >record's ID value - The last part is what I can't seem to get to > work- any > >ideas??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php