Post your code... > -----Original Message----- > From: Stephen Craton [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 2:11 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Not Displaying From Vars?? > > I just tried it and it doesn't work either. > > Thanks, > Stephen > http://www.melchior.us > http://php.melchior.us > > :: -----Original Message----- > :: From: John W. Holmes [mailto:[EMAIL PROTECTED]] > :: Sent: Sunday, September 29, 2002 1:07 PM > :: To: 'Stephen Craton'; [EMAIL PROTECTED] > :: Subject: RE: [PHP] Not Displaying From Vars?? > :: > :: > :: Try $_POST['sun_reg'] or $_GET['sun_reg'], depending on the > :: method of your form. > :: > :: You probably have register globals off, that's why $sun_reg > :: isn't created. That's a good thing. > :: > :: ---John Holmes... > :: > :: > -----Original Message----- > :: > From: Stephen Craton [mailto:[EMAIL PROTECTED]] > :: > Sent: Sunday, September 29, 2002 2:01 PM > :: > To: [EMAIL PROTECTED] > :: > Subject: [PHP] Not Displaying From Vars?? > :: > > :: > I bet you're getting sick of hearing from me but yet > :: again, I'm having > :: > trouble. I have a form that you type in a number for how > :: many hours an > :: > employee has worked. When they submit the form, it's supposed to > :: > display, again, what they typed in and record them to a > :: database to be > :: > used for a later use. The form, evidently, submits fine > :: but what my > :: > problem is, is that it won't display what they typed in. > :: > > :: > All I'm doing is putting in this: > :: > > :: > <?php echo $sun_reg; ?> > :: > > :: > The input field looks like this: > :: > > :: > <input name="sun_reg" type="text" class="hours" > :: id="sun_reg" size="4" > :: > maxlength="3"> > :: > > :: > Does anyone see the problem? I can assign the form method to be GET > :: and > :: > it displays all the field values in the URL just fine, > :: it's just not > :: > displaying in the page itself. > :: > > :: > Thanks, > :: > Stephen > :: > http://www.melchior.us > :: > http://php.melchior.us > :: > > :: > > :: > > :: > -- > :: > PHP General Mailing List (http://www.php.net/) > :: > To unsubscribe, visit: http://www.php.net/unsub.php > :: > :: > :: > :: > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php