Bluehost.com Web Hosting $6.95

RE: [PHP] _GET question

This is a discussion on RE: [PHP] _GET question within the PHP General forums, part of the PHP Programming Forums category; Pushpinder Singh Garcha <mailto:pgarcha@adelphia.net> on Friday, August 01, 2003 11:11 AM said: > <...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-01-2003
Chris W. Parker
 
Posts: n/a
Default RE: [PHP] _GET question

Pushpinder Singh Garcha <mailto:pgarcha@adelphia.net>
on Friday, August 01, 2003 11:11 AM said:

> <form name="form1" method="post"
> action="full_profile_1.php?val=$company">


Use a hidden form element instead.

<input type="hidden" name="val" value="$company"/>

> Can some one tell me if the action parameter of the form is correct ?
> Since in the first part of the if() statement when I try to retrieve
> the value of $_GET['val'] I do not get anything.


1. As an experiment did you try $_POST[]?

2. Making the above change (using input type="hidden") might solve your
problem.


hth,
Chris.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0