Can PHP determine if an <a href button was clicked?
Posted: Sun Feb 28, 2010 8:35 pm
The following is the code that shows a user a small photo that when clicked displays the larger version of it. I'd like to provide
some custom php coding that is dependent on whether the user clicked on the photo. I realize that the javascript function returns a value of true or false but I'm not sure if I can somehow test and use that value in php.
some custom php coding that is dependent on whether the user clicked on the photo. I realize that the javascript function returns a value of true or false but I'm not sure if I can somehow test and use that value in php.
Code: Select all
<a href="<?=getFullImageURL();?>" class="highslide" onclick="return hs.expand(this)" title="<?=getImageTitle();?>"><?php printImageThumb(getImageTitle());?></a>