--- Jason Wong <[EMAIL PROTECTED]> wrote:

> > Nothing is printing out on $_POST['var'] or $var
> > s makes sense.
> 
> Now why are you looking in $_POST for your form
> values? They're in $_GET. You 
> said earlier that you understood POST and GET?

I made the correction , using $_GET now.  Values are
printing out, aside from the select lists (arrays)
which print out as "array".

Now I can get the correct values into the text fields,
so they are working, but the drop downs and the select
lists are not.   

I'm not sure, if I need to parse the
(Server(QueryString) or implode the arrays ?This is
the big question for me.

Here is all the relevant code. Perhaps someone can see
what it is I'm doing wrong:

?>
<?php
$queryString = ($_SERVER['QUERY_STRING']);
$Ind = $_GET['Ind'];
$State = $_GET['State'];
$TType = $_GET['TType'];
$JTitle = $_GET['JTitle'];
$City = $_GET['City'];
$Days = $_GET['Days'];
?>

<form name="form1" id="form1" method="get"
action="<?=$PHP_SELF?>"

select name="Ind[]" size="8" multiple="multiple"
id="Ind[]" >
<?php
while($row = mysql_fetch_array($inds, MYSQL_BOTH)) {
echo '<option           
value="'.$row['CareerIDs'].'">'.$row['CareerCategories'].'</option>';

<select name="State[]" size="8" multiple="multiple"
id="State[]">
<?php
while($row = mysql_fetch_array($stas, MYSQL_BOTH)) {
echo '<option 
value="'.$row['StateID'].'">'.$row['States'].'</option>

<select name="TType[]" size="8" multiple="multiple"
id="TType[]">
<?php
while($row = mysql_fetch_array($terms, MYSQL_BOTH)) {
echo '<option   
value="'.$row['TaxTermID'].'">'.$row['TaxTerm'].'</option>';

<input name="JTitle" type="text" id="JTitle"
value="<?php echo $JTitle ?>">
<input name="City" type="text" id="City" value="<?php
echo $City ?>">

<select name="Days" id="Days" >
<option value="">Please Select</option>
<?php
while($row = mysql_fetch_array($days, MYSQL_BOTH)) {
echo '<option   
value="'.$row['DaysID'].'">'.$row['Days'].'</option>';

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

Reply via email to