Hello Imran,
Wednesday, February 11, 2004, 8:17:11 PM, you wrote:
IA Is not working, is it correct way
IA File1.php
IA? $colors = array('red','blue','green','yellow'); ?
IAform action=file2.php method=post
IA input type=hidden type name=colors value=?=$colors?
IA
[] value=green
input type=hidden name=colors[] value=yellow
[/code]
... and File2.php will do its job as desired.
Shaunak
-Original Message-
From: Imran Asghar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 3:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] array data
Hi
Hi,
Is not working, is it correct way
File1.php
? $colors = array('red','blue','green','yellow'); ?
form action=file2.php method=post
input type=hidden type name=colors value=?=$colors?
/fomr
File2.php
?
echo $colors[0];
echo $colors[1];
echo $colors[2];
newbie ...
Is it possible to format data in array to XML and display ?
Thanks !
4 matches
Mail list logo