Doing some learning on a test board..
Made a query_write and it all checks out
and data is added, but after the data is added
i end up with a blank page..
is there anyway i can force a redirect to test.php?do=main
after ?
EDIT thinking something like
if $dataupdate()
{
Redirect succes
}
else
{
you messed up
}
edit : how do i return ?
--------------- Added [DATE]1234703256[/DATE] at [TIME]1234703256[/TIME] ---------------
hmmm
not sure if this is the best way solved it with an additional template
if ($dataupdate)
{
eval('print_output("' . fetch_template('testa_donepage') . '");');
}
template contains a succes message and a link to test.php?do=main