Parameter question

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!

Moderator: General Moderators

Post Reply
Addos
Forum Contributor
Posts: 305
Joined: Mon Jan 17, 2005 4:13 pm

Parameter question

Post by Addos »

I have a page where I want to click on thumb images that will open within the same page and although I’m using this below for the moment and it works ok, I feel that it is not correct.

Code: Select all

<a href=&quote;specials6.php?ImageID=<?php echo $row_rstThumbs&#1111;'ImageID']; ?>&quote;>
Usually I would use this kind of code:

Code: Select all

<a href=&quote;gallery_results.php?ImageID=<?php echo $row_rstThumbs&#1111;'ImageID']; ?>&quote;>
But I don’t want to be sent to another page.

I appreciate that what I’m using at the very top here is in effect sending me to another page even if it is actually back to itself but I think I might need some sort of OnClick function.

Thanks for any advice or help.

Brian
Addos
Forum Contributor
Posts: 305
Joined: Mon Jan 17, 2005 4:13 pm

Post by Addos »

Apologies I meant to supply a link to show this page works ok.

http://www.allsportartistry.com/specials6.php

Thanks
Brian
Post Reply