hHi
  $data = serialize($felnummer);

That should do it..
Tom

At 12:58 AM 6/03/2002, Axel Nilsson wrote:
>Hi All!
>I use this code to create a number of fields in a form depending on what 
>input number I use. My problem occurs when i am going to save it. Right 
>now only the value of the last field gets stored. I want to serialize all 
>values from all fields so that they can be saved as a stringvalue
>
>is there any friendly soul out there who knows how to do it?
>
>/Axel
>
><?php
>for ($i=0; $i<$HTTP_GET_VARS['num']; $i++)
>{
>echo "felnummer <INPUT TYPE=\" TEXT\" name=\"felnummer[i]\"><BR>";
>}
>?>
>
>
>
>_________________________________________________________________
>MSN Photos är det enklaste sättet att dela ut och skriva ut foton: 
>http://photos.msn.se/Support/WorldWide.aspx
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>


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

Reply via email to