hello,
I am trying to post some data from my form and I am using a user defined tag on my thank you page
UserDefinedTag = postdatatest
I've tried:
echo '
foreach($_POST as $k => $v){
echo "$k => $v ';
}
';
producing warning:
# Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/www/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 5 Parse error: syntax error, unexpected '}' in /home/www/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 6
and I've tried:
echo 'foreach($_POST as $k => $v){echo "$k => $v '; }' ;
# Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/www/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 1 Parse error: syntax error, unexpected '}' in /home/www/cmsmadesimple/admin/adduserplugin.php(100) : eval()'d code on line 2
I'm not a coder and any insight would be appreciated.
user defined tag error
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: user defined tag error
this is not a CMSMS issue, it's a PHP language issue.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: user defined tag error
Solved it!
It seems I cannot use {register} as a user defined tag.
I changed the tag name to {postit} and all is well.
cheers
It seems I cannot use {register} as a user defined tag.
I changed the tag name to {postit} and all is well.
cheers