Here's the part that's supposed to display the information. I've only
filled in one area so far:

<tr> 
                        <td><font size="2" face="Arial, Helvetica,
sans-serif">Sunday</font></td>
                        <td align="center" valign="middle"><?php echo
$_GET[sung_reg]; ?></td>
                        <td align="center" valign="middle"
class="line">&nbsp;</td>
                        <td align="center" valign="middle"
class="line2">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                        <td align="center" valign="middle">&nbsp;</td>
                      </tr>

Here's the form for the same area:

                      <tr> 
                        <td><font size="2" face="Arial, Helvetica,
sans-serif">Sunday</font></td>
                        <td align="center" valign="middle"> <input
name="sun_reg" type="text" class="hours" id="sun_reg" size="4"
maxlength="3"> 
                        </td>
                        <td align="center" valign="middle"
class="line"><font size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_over" type="text"
class="hours" id="sun_over" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"
class="line2"><font size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_vac" type="text"
class="hours" id="sun_vac" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_hol" type="text"
class="hours" id="sun_hol" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_sick" type="text"
class="hours" id="sun_sick" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_funer" type="text"
class="hours" id="sun_funer" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_edu" type="text"
class="hours" id="sun_edu" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_per" type="text"
class="hours" id="sun_per2" size="4" maxlength="3">
                          </font></td>
                        <td align="center" valign="middle"><font
size="2" face="Arial, Helvetica, sans-serif"> 
                          <input name="sun_other" type="text"
class="hours" id="sun_other" size="4" maxlength="3">
                          </font></td>
                      </tr>

Hope that helps!

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:33 PM
:: To: 'Stephen Craton'; [EMAIL PROTECTED]
:: Subject: RE: [PHP] Not Displaying From Vars??
:: 
:: 
:: 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
:: 
:: 
:: 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to