if (! $ok )
{
// register your variables with the current session
// in order that you are able to use it in the other page (fillin.php)
Header("Location: fillin.php");
exit;
}
see header() function in the manual!
and I
----- Original Message -----
From: "Christian Marschalek" <cm@chello.at>
To: "[PHP] PostgreSQL" <pgsql-php@postgresql.org>
Sent: 2001. május 5. 14:51
Subject: [PHP] PHP calling PHP?
> Hi!
>
> Let's say I want to insert some data into my db and I want to be sure
> that the user fills out alle the requiered fields.
>
> I'm thinking of that: I want to pass the data to a PHP script and if
> there's something missing I want to call the input PHP script again but
> this time with the already inserted data. I can I call a link inside a
> PHP script without having the user to click on it?
>
> Tia Chris
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster