euhm I don't really get it...
Is it possible that you can give me an example?
this is what I'm doing.
I'm working in one php file and use varaibles that are giving by the URL. example/ $action.
then with a case I go check what $action is.
So i created a form, to fill in, something like a reply box on this forum:
<form action=\"$_PHPSELF?action=stuur\" method=\"POST\">
you see then it loads the page again, with $action=stuur.
then the sript sees that $action=stuur and connects to mysql to write the input.
and then I use the redirect:
echo "<script language=\"JavaScript\">
window.location='$_PHPSELF?action=vieuw';
</script>";
so the script sees that $action turned into vieuw and then shows every entry...
(i'm trying to write my own guestbook)
Is this way that bad?
Is there a way you could tell me what is better then? using your functions...