• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 382
  • 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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