Menu
Is there anyway to call a function in a php script that is embedded in the html document, from the html part itself?
I’m trying to improve on my Javascript image gallery by doing it in php instead, allowing a bit more dynamic interface (eg, associated text accompanying the image without the need of an unsightly text-box).
I just needed to know how to call a function that increments a variable that supplies the script with info on the image number and the image description text.
Please bare in mind I’ve only been learning php for about half a day and this is my first attempt.
Thanks,
John