• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 381
  • Last Modified:

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!
0
timburkart
Asked:
timburkart
  • 3
  • 3
1 Solution
 
timburkartAuthor Commented:
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
0
 
timburkartAuthor Commented:
Correction, here is the right link - http://zclientdev.net/maze/free-trials.html
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
joomla_phpCommented:
No there are lots of choices, that happens to be my favorite.
You can include it at any module position.
Just make sure your php is correct!
0
 
joomla_phpCommented:
Hey cool product. I need something like that. Let me know when it's live?
0
 
timburkartAuthor Commented:
Thank you very much!
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now