Re: PHP/MySql Array problem (newbie)
| From: | Maxim Maletsky | Date: | Tue, 05 Nov 2002 17:09:23 +0000 |
| Subject: | Re: PHP/MySql Array problem (newbie) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-122797@lists.php.net to get a copy of this message | ||
You can't send the whole array into on "cell". Try doing:
echo $array;
and you'll see what I mean.
You will need to insert each element individually.
--
Maxim Maletsky
maxim@php.net
www.maxim.cx
"alex koppie" <koppe122@airtel.net> wrote... :
> Hi there,
>
> I am trying to send an array to a database and visualize it again. Alltough
> this sounds simple, for me.... hours!
> I create the arry from a form, serialize it, urlencode it and send it to a
> row in mysql. So far all ok, However, in mysqlfront (I suppose in every
> prog.) the cell in the table that contains the array, does not give the
> contents, it only displays "Array". I dont know if I go wrong here allready?
>
> Well, if that sounds right, the problem is on getting it out. I unserialize,
> urldecode, but the only output I can create is "Array()".
>
> How can I get the information (ordered) from the database. I would realy
> apreciate some help!
>
> Tnx
>
> Alex
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>