Hello Imran,

On 12 Feb 2004 at 1:17, Imran Asghar wrote:

> 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];
>  echo $colors[4];
> ?>
> 
> 
> 
> imee
> 

I'm afraid you'll have to start learning PHP from scratch. The freely-available PHP 
manual has a fairly good introductory section and you'll also find tons of tutorials 
for 
beginners on the web.

Good luck,

Erik

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to