Problem handling php embeded in an article

The support for Joomla 2.5 ended on December 31, 2014. Possible bugs in Joomla 2.5 will not be patched anymore. This forum has been closed. Please update your website to Joomla 3.x

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
User avatar
OldMoldy
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sat Jan 30, 2010 11:19 pm

Problem handling php embeded in an article

Post by OldMoldy » Sat Mar 02, 2013 3:36 am

My site http://migrate.valueusa.org/index.php/g ... ed/sign-up is built on Joomla 2.5.9. I configured the JCE editor to permit in-line php coding and entered the following line (as part of a form)

<input title="First Name" type="text" id="f1" name="First_Name" class="blockInput salsa_first_name" size="25" <?php echo 'value="'.$f1.'"'; ?> />

When the article is displayed, Firebug shows that the line has been interpreted as

<input title="First Name" type="text" id="f1" name="First_Name" class="blockInput salsa_first_name" size="25" <?php echo 'value="'.$f1.'" '; ?> "/>"

Which does not provide the functionality of retrieving the value which was typed in if the form is re-displayed because of error.

I have checked the content table in the database using pHp MyAdmin and verified that the code is stored properly in the article.
You do not have the required permissions to view the files attached to this post.

Locked

Return to “Joomla! 2.5 Bug Reporting”