Re: Re: Redirect After Edit (solved)
| From: | daniel at electroteque dot org | Date: | Wed, 14 May 2003 23:35:58 +0000 |
| Subject: | Re: Re: Redirect After Edit (solved) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147660@lists.php.net to get a copy of this message | ||
like my suggestion is $pk_user_id is a get query use the full syntax like
$_GET['pk_user_id']
> Thanks, all, for your suggestions.
> It looks like it was a "syntax error" (did I mention I was a newbee?).
>
> I changed this
> header("Location: contact_detail.php?pk_user_id=' . $pk_user_id . '");
>
> to this
> header("Location: contact_detail.php?pk_user_id=$pk_user_id");
>
> and now it works!
>
> Kevin
>
>
> "Kevin Millecam" <kmillecam@bitworkz.com> wrote in message
> news:20030513232811.56373.qmail@pb1.pair.com...
>> 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.
>>
>>
>>
>> TIA,
>>
>> Kevin Millecam
>>
>>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php