RE: [PHP] value not passed

From: Date: Tue, 15 Jul 2003 22:42:31 +0000
Subject: RE: [PHP] value not passed
Groups: php.general 
Request: Send a blank email to php-general+get-155327@lists.php.net to get a copy of this message
No value is assigned in the code you listed. What is before this block? If $addDivName isn't given a value then nothing is posted. Are you trying to have the text field populate this info? If so, you are getting your program flow wrong. Johnny -----Original Message----- From: Joaco [mailto:joaco182@hotmail.com] Sent: Tuesday, July 15, 2003 3:39 PM To: php-general@lists.php.net Subject: [PHP] value not passed 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"> </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> </td> <?php } ?> Whenever I click on the anchor everything is sent thru except the value of addDivName? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#155327) next »