Re: value not passed
| From: | Baroiller Pierre-Emmanuel | Date: | Tue, 15 Jul 2003 23:01:32 +0000 |
| Subject: | Re: value not passed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155336@lists.php.net to get a copy of this message | ||
did you put a <form name="" method="POST/GET"> before in your script ?
What I see in your script is : addDivName is a text input field, without
value..
so, if you click on you link, is $addDivName wasn't set before, the content
is... empty! :)
I can't help you more with your tiny sample :(
Regards,
P.E. Baroiller
"Joaco" <joaco182@hotmail.com> a écrit dans le message de
news:20030715223743.60825.qmail@pb1.pair.com...
> 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?
>
>