Forum Moderators: coopster
I was wondering if it was possible to have a form submitted automatically without the need for a submit button. I thought this might be a way to send arrays to another script.
Is there another way to pass an array to another script, i tried via GET but it sends the word "array" and not its actual contents like so.
s.php
-------------
<?php
$error[] = "Enter Name";
$error[] = "Enter Password";
header("Location: a.php?error=$error");
?>
a.php
-------------
<?php
$error = $_GET['error'];
echo $error . "<br>";
?>