Can someone explain this href?
Posted: Thu Jul 09, 2009 8:40 am
I'm new to php and trying to understand a slideshow script I found.
This is an html file created from the php script that displays an image as part of a series of images.
I understand this will display "back" and display a different image when "back" is pressed, but can someone explain the
"?directory=.¤tPic=9" part? "Directory" and "currentPic" are variables in the php script, but what do they do in
the html? How do they get values? Or DO they get values?
Or is it that when I press "back" does it calls the php script with "?directory=.¤tPic=9" as a parameter?
What's this thing doing?
<a href='D:\xampp\htdocs\slideshow.php?directory=.¤tPic=9'>back</a>
This is an html file created from the php script that displays an image as part of a series of images.
I understand this will display "back" and display a different image when "back" is pressed, but can someone explain the
"?directory=.¤tPic=9" part? "Directory" and "currentPic" are variables in the php script, but what do they do in
the html? How do they get values? Or DO they get values?
Or is it that when I press "back" does it calls the php script with "?directory=.¤tPic=9" as a parameter?
What's this thing doing?
<a href='D:\xampp\htdocs\slideshow.php?directory=.¤tPic=9'>back</a>