Joaco <[EMAIL PROTECTED]> wrote: > Can anyone tell me why the addDivName field is always passed as a blank... > This is killing me. > > <?php if($i <= 8) {?> > <td> > <input type="text" name="addDivName" class="textfield">
This isnt getting submited when you press the link. > </td> > <td align="right"> > <a href="<?php print > "index.php?op=addDivision&total=".$i."&addDivName=".$addDivName; ?>"> > <img src="<?php print SITE_DIR > ?>_img/_buttons/btn_additem.gif" > width="58" height="15" alt="" border="0" /> > </a> The 'a href' wont pass the variable addDivName that the user has just entered in the textbox above. You'll want to change that href to something like: <input type="image" src="btn_additem.gif"> Be sure that you have set up the form earlier in the file. > </td> > <?php } ?> > > Whenever I click on the anchor everything is sent thru except the value of > addDivName? Curt -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php