havana7
02-12-2010, 04:21 PM
Hi to all!
I have a working php page integrated in a Jumi module, this page contains a form with an hidden field:
<form method='post' action='index.php?option=com_content&view=article&id=10?start=$start' enctype='multipart/form-data'><input type='submit' name='prov' value='Publish' /><input type='hidden' name='id1' value='$id'/><input type='hidden' name='start1' value='$start'/><input type='hidden' name='prov' value='form'/></form>
so with this statement:
if(isset($_POST['prov'])){
$_POST['id1'] = $id1;
$_POST['start1'] = $start1;
$redirect_page = "index.php?option=com_content&view=article&id=2&number=$id1";
header('location: ' . $redirect_page);
}
It understand that the form is sent and it should go to another page, but the problem is that $_POST['id1'] and $_POST['start1'] don't get values, why? Out of joomla all works correvtly...
I have a working php page integrated in a Jumi module, this page contains a form with an hidden field:
<form method='post' action='index.php?option=com_content&view=article&id=10?start=$start' enctype='multipart/form-data'><input type='submit' name='prov' value='Publish' /><input type='hidden' name='id1' value='$id'/><input type='hidden' name='start1' value='$start'/><input type='hidden' name='prov' value='form'/></form>
so with this statement:
if(isset($_POST['prov'])){
$_POST['id1'] = $id1;
$_POST['start1'] = $start1;
$redirect_page = "index.php?option=com_content&view=article&id=2&number=$id1";
header('location: ' . $redirect_page);
}
It understand that the form is sent and it should go to another page, but the problem is that $_POST['id1'] and $_POST['start1'] don't get values, why? Out of joomla all works correvtly...