Posted 06 September 2006 - 07:40 AM
i'm new to this forum awa to php.
can someone help me
i want to redirect to some other php page on a button click.
i used this code, but it doesn't work
header ("Location: $URL");
is there anythin like redirect("");
Posted 06 September 2006 - 08:26 AM
i'm gettin datas from users usin a form(getdata.php) and insertin it into a table(insertdata.php).
wen datas r inserted the page (insertdata.php) remains.
wat i need is to redirect it to (getdata.php) again after insertion is over.
Posted 06 September 2006 - 08:38 AM
<?php // insertdata.php // retrieve data from form // conn to database, select database // create and execute db query header("Location: getdata.php"); ?>
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users