Date: 09/28/00
- Next message: Account Service: "[PHP-DB] Print Bankable Checks Yourself !"
- Previous message: Vince LaMonica: "Re: [PHP-DB] equivalent to piping in Win98?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mirko, try modifying this line:
echo "<form method=\"post\" method=\"prova1.php\">";
to:
echo "<form method=\"post\" action=\"prova1.php\">";
cheers, Tim
> From: "Mirko Nalesso"<okrim74 <email protected>>
> Date: Thu, 28 Sep 2000 14:42:11 +0200
> To: php-db <email protected>
> Subject: Array as hidden input, again
>
> Hi,
> I have a problem with an array as hidden input in a form.
>
> The file are:
> -------------------------------------------
> -------------------------------------------
> File prova.php:
> -------------------------------------------
> <?
> $arr=array();
> $arr[1]=11;
> $arr[2]=12;
> $arr[3]=13;
> echo "<form method=\"post\" method=\"prova1.php\">";
> echo "<input type=\"hidden\" name=\"arr[]\" value=\"$arr\">";
> echo "<input type=submit value=\"NEXT\">";
> echo "</form>";
> ?>
> -------------------------------------------
> -------------------------------------------
> File prova1.php:
> -------------------------------------------
> <?
> echo "$arr[1] - $arr[2] - $arr[3]";
> ?>
> -------------------------------------------
> -------------------------------------------
> The output of prova1.php on Netscape is:
>
> - -
>
> I hope someone can help me.
> Best regards.
> Mirko
---- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Account Service: "[PHP-DB] Print Bankable Checks Yourself !"
- Previous message: Vince LaMonica: "Re: [PHP-DB] equivalent to piping in Win98?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

