Rito then,
Have browsed the entire net n still no luck, this must be so easy to do as on all the sites I look on, they all use what I want to know how to do!
Like when you hover over a general link, the status bar indicates such as:
http://www.anywebsite.com/gotoapage.php?$img=18350983
And thats what I want to know how to do. Pass a variable value through a link. I have played about myself using the following:
A HREF="mypage.php?$img=727864.jpg"
then on the recieveing page, use:
$img = $_POST['pic1']; //pic1, being the name of my image
<img src=<? echo '".$img."' ;?> width="480" etc
But it doesn't work, very preliminary of me i know because the $_POST command is normally used through forms.
I then thought about using a function in order to display my picture, so on the reciveing page use:
function show($img){
//body of page, then use the $img value passed to display the relevant pic.
}
and use the same HREF on the previous page as before. And yet again, nothing. Thats because I don't know how to actually give the value to the variable declared in the function! AAHHHH!
This must be so easy! but I cant find the solution anywhere.
In a simple overview, I have a series of thumbnail images, and each I want to be able to link to a single page, passing the images src name so that it is displayed on the recieveing page nomatter what image is clicked on.
If anyone could help, as always, most greatful, cheers.