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:[EMAIL PROTECTED]
Sent: Tuesday, July 15, 2003 3:39 PM
To: [EMAIL PROTECTED]
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

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

Reply via email to