MySQL Forums
Forum List  »  PHP

Re: <?php echo $row_nav['ID'=2]; ?>
Posted by: Mike Vaillancourt
Date: February 25, 2009 07:34AM

Here's a little more info on the question...

This sql statement will get the specific record from the database...

SELECT * FROM bname
WHERE bnameID IN ('2')

This works great, but, on a daily basis the bnameID will change accordingly by the curdate() function and there will be multiple bnameID's needed every day.

To give you an idea of how the page will operate is it's on only one page, there will be multiple div's that will be loaded with an image (sorta like a calendar). The div's will get populated with the image based on the curdate() function. I can get to this point with no problem, it's just getting the image to populate a popup div with the specific data when the image is selected.

I'm really new at this and I'm basically learning as I go. Also using Dreamweaver to create the webpages and recordsets.

Options: ReplyQuote


Subject
Written By
Posted
Re: <?php echo $row_nav['ID'=2]; ?>
February 25, 2009 07:34AM


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.