I've tried to figure this out, I'm missing something, or several somethings. I need to pass a unique item number value in the URL when a thumbnail image is clicked.
I've added
?item=001x
to the end of the first item URL.
<a href="php_f/checkstat.php?item=x001" target="_self"><img src="images/pics/ps001a.jpg" alt="Item 1" height="96" width="96" title="item 1 title here"></a>
The URL calls a php page. What's the correct syntax for the GET that I need to add to the php page to make the value accessable for an IF statement comparison?
would it be:
$_GET[item];
Also, is it possible to pass a value from a page containing just html (without <?php
?> tags) or do I need to add them.