Quote:
Originally Posted by Michael Morris
The only templates that accept the PHP code are PHPINCLUDE_START and PHPINCLUDE_END. Put you're code in PHPINCLUDE_START and nest it in this conditional to insure it only executes for the usercp page.
PHP Code:
if (THIS_SCRIPT=='usercp')
{
your code
}
Assign the output to a variable. Put that variable in the USERCP template where you want it.
|
Hi Michael, thanks for the comment but I am having a hard time getting this to work with MySQL queries. Any suggestions?