Hi there, i needed to add PHP code into post / article in Joomla and in default configuration it did not shown properly on my Joomla website.
But i have downloaded Joomla plugin / extension which enables this!! Its Sourcerer
http://www.nonumber.nl/extensions/sourcerer
Just download that ZIP file and go to your Joomla administration. Then from Joomla admin menu select Tab "Enhancements" or similar and click "Install/Uninstall".
Then on this page select your ZIP file and install it.
Once Rourcerer PHP extension is installed you can edit your post adn at the bottom under article text window you should see new button saying add CODE. click it and now you can easily add your PHP or Javascript code into Joomla post / article!!