Hi Peter,
I'm trying Sourcerer. It works.
But I don't know how to apply it in order to manage a Form.
I want to call a form in an article and put or wiew the results in or from a database table.
I'm trying it with a contition in order to go to the form or to the action after it (whith POST).
If I to it froma an esternal php file this works, but if I try it in a Joomla article with Sourcerer it goes again to the same part of the condition.
Any ideas?
Thanks in advance,
Gonzalo
---------------------------------------------------------------
Example:
{source}
[[?php
$aa = $_SERVER['REQUEST_URI'];
if (!isset($action)) {
echo("<form name='form1' action='
www.uprait.org$aa?action=yes' method='post'>
Name: [[input type='Text'' name='name']]
[[input type='Submit' name='ok' value='OK!']]
[[/form]]");
} elseif($action=="yes") {
echo ("Name: $name");
}
?]]
{/source}