I would wager that it is mostly likely a misspelling on the forms page
(check the html source once it is generated), unless you happen to be using
'person' as a name for another tag. Try grabbing the 'person' data from
$_POST['person'].

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Behalf Of Chris Overland
Sent: Sunday, October 09, 2005 11:24 AM
To: [email protected]
Subject: [php_mysql] Passing data


I have a form with two drop down boxes that are hard
coded as in the example below, and another drop down
(pull down) box that is populated as a result of a
MySQL query.  All appears to work as it should with
the exception that after choices have been made and
the submit button clicked, (to either enter the data
into another database OR work together in another
query - I've tried both), the field that was populated
by the initial query does not pass it's data as the
hard coded fields do.  In other words, the 'month'
below passes user data to $month in mmonth.php but the
data in the queried cell 'person' does not pass to
$person in mmonth.php - can anyone tell me why is
that?  TIA and thanks Michael for the earlier reply on
php emailing - appreciate it...


<form method="post" action="mmonth.php">
<input type="hidden" name="id" value="NULL">
<tr>
  <td><b>Month:</b></td>
  <td><select name="month">
        <option value = "Jan">Jan</option>
        <option value = "Feb">Feb</option>
        <option value = "Mar">Mar</option>
        <option value = "Apr">Apr</option>
        <option value = "May">May</option> etc
      </select>
  </td>
</tr>



__________________________________
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/



The php_mysql group is dedicated to learn more about the PHP/MySQL web
database possibilities through group learning.
Yahoo! Groups Links












------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to