Link to home
Start Free TrialLog in
Avatar of timburkart
timburkart

asked on

How do I use PHP code inside a Joomla 1.5 article?

I have the following code inside a Joomla article that contains a web form. I am submitting the form to itself using a POST method. However I believe the PHP code is never checked because the echo statement does not appear on the page.
<?php

if (array_key_exists('_submit_check', $_POST)) {

echo "inside if statement";
include_once "/maze/custom/myform.php";
}
?>
 

Open in new window


Can one of the experts please help me get this form to execute properly?

Thank you!
Avatar of Member_5340450
Member_5340450

Avatar of timburkart

ASKER

Hello joomla_php!

Is this the only technique available to me? Does it matter which module position I use in the article? see http://zclientdev.net/maze/free-trial.html

Thank you,
Tim
Correction, here is the right link - http://zclientdev.net/maze/free-trials.html
ASKER CERTIFIED SOLUTION
Avatar of Member_5340450
Member_5340450

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hey cool product. I need something like that. Let me know when it's live?
Thank you very much!