You are here: Passing data between php files « PHP Programming Language « IT news, forums, messages
Passing data between php files

Posted by cover on 10/09/05 23:59

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 - appreciate all replies...


<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>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация