[phplib] how to store array-variable in hidden-field?? From: Ralf Pfeiffer (rpfeiffer <email protected>)
Date: 07/01/01

Hello,

the values of the variables $WFL, $Bau and $ObjArt are given by a contact
form. $ObjArt is an array-variable.
In a second script the values of these variables are stored in hidden-fields
in order to transfer them to the script ''query.php3'.
Now my problem: how can I transfer the values of the array-variable $ObjArt
to the script 'query.php3' by the following form-tag?
The values of the variable $ObjArt are for example: ObjArt [1] = wohn,
ObjArt [2] = Bau, ObjArt [3] = Reit.
Anybody has an idea?

<FORM ACTION="query.php3" METHOD="post">
<input type="hidden" name="WFL" value="<? echo $WFL;?>">
<input type="hidden" name="Bau" value="<? echo $Bau;?>">
<input type="hidden" name="ObjArt [ ]" value="<? $ObjArt;?>">
</form>

Greetings Ralf

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>