$data = serialize($felnummer);

That should do it..

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?
>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: 
>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