Re: parse error mysql
| From: | Éles Zoltán | Date: | Tue, 26 Sep 2000 09:31:11 +0000 |
| Subject: | Re: parse error mysql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-3083@lists.php.net to get a copy of this message | ||
Try this:
for ($i = 1; $i <= $countgle; $i++):
echo "<INPUT TYPE=text NAME=glenum[] VALUE=".$frm["glenums"][$i]."
SIZE=60
MAXLENGTH=14>\n";
endfor;
bye
zoltan
> And this is the code that calls it (and generates the error, line 87):
> <?
> for ($i = 1; $i <= $countgle; $i++):
> echo "<INPUT TYPE=text NAME=glenum[] VALUE=\"$frm["glenums"][$i]\"
SIZE=60>
> MAXLENGTH=14>\n";
> endfor;
> ?>
>
> Anybody have any ideas? I am getting it to work by going outside of the
$frm
> ["glenums'] array, but I would like to make it work from $frm...
>
> I just don't know what the HAY these lines do:
> $frm["glenums"] = array();
> while ($gle = db_fetch_object($qid)) {
> $frm["glenums"][] = $gle->glenum;
> }
>
> Can anybody explain this before I go bald (yes, I am pulling my hair
out!!)
>
> luis
>
> ---------------------------------------------
> This message was sent using Mecha WebMail.
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>