PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I have created a menu which, when linked with a javascript, displays a logo off to the side of the link. I can get it to display only the first image in the database. I am certain it's a simple fix, but I am too close to it now and am unable to see my error. I would appreciate assistance to get this to work properly. The code follows. What am I doing wrong and why does it only show the image of the first listing in the database? Otherwise everything else works well.
Thank you,
Suzi
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I'm not sure exactly what the Javascript is doing, mostly because I didnt look, but may I suggest adding the HTML <img> tags etc within the PHP While statement as well.