I want to put a php script on a content page that loads images from an SQL database based on the pages name.
How do i make the PHP script recognise the page name? I want to have the script callable ie {imagegalleryphp}
Thanks in Advance.
PHP page name script
-
alby
Re: PHP page name script
With un User Defined Tags and $page_alias (alias of current page), for ex:PCgeek wrote: I want to put a php script on a content page that loads images from an SQL database based on the pages name.
How do i make the PHP script recognise the page name? I want to have the script callable ie {imagegalleryphp}
{imagegalleryphp page=$page_alias}
Alby
