Re: Redirect After Edit
| From: | daniel at electroteque dot org | Date: | Tue, 13 May 2003 23:30:20 +0000 |
| Subject: | Re: Redirect After Edit | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147508@lists.php.net to get a copy of this message | ||
what exactly is $pk_user_id ?
whenever i do an update for instance my form would goto
?pk_user_id=2&action=update
then u can go
> header("Location: contact_detail.php?pk_user_id=".$_GET['pk_user_id']);
> Hi all,
>
> Newbee here.
> I've created a basic database here
> http://www.coolsolutions.com/rewards/
>
> But I'm having a problem getting PHP to display the "contact_detail"
> page after I edit a record on the "contact_edit" page.
>
> I'm using this header code at the end of my update script but it's not
> taking me anywhere.
>
> header("Location: contact_detail.php?pk_user_id=' . $pk_user_id . '");
>
> TIA,
>
> Kevin Millecam
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php