MySQL Forums
Forum List  »  PHP

<?php echo $row_nav['ID'=2]; ?>
Posted by: Mike Vaillancourt
Date: February 24, 2009 07:15PM

I have a webpage with 2 div's on it. The first div has an image in it and is visible, the second div is hidden and will appear when the image in the first div is clicked.

The second div will get populated with data from a specific row from a database table. I know which row I want to use for populating the div, I'm not sure how the string should be written to call that specific record.

I'm familiar with url parameters (gotopage2.php?bnameID=<?php echo $row_bname['ID']; ?>) but don't want to use the linking feature for the issue since the div's are on the same page.

Options: ReplyQuote


Subject
Written By
Posted
<?php echo $row_nav['ID'=2]; ?>
February 24, 2009 07:15PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.