Re: Viewing checkbox data with MySQL and PHP
From: Bee (namanhvu_at_gmail.com)
Date: 10/12/04
- Previous message: Ubik: "SOMETIMES, my SID gets embedded in the URL"
- In reply to: Aggro: "Re: Viewing checkbox data with MySQL and PHP"
- Next in thread: Paul Barfoot: "Re: Viewing checkbox data with MySQL and PHP"
- Reply: Paul Barfoot: "Re: Viewing checkbox data with MySQL and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Oct 2004 01:17:41 -0700
> Try:
> echo $checkbox['CHECKBOX'];
>
> If that prints the string that you have in the database, you have
> problem in php side, if you prints something else, you have problem on
> sql side.
Thanks for replying.
I did try this and it printed out the strings in my database. So
therefore its a problem on the PHP side, as you commented. The thing
is, I cannot find out what the problem is i.e. why the output of each
string in the database is "Array" when I process the following:
$check = unserialize($checkbox['CHECKBOX']);
//code to loop array...
echo $check;
Any ideas are very welcome...(please!)
TIA.
Bee.
- Previous message: Ubik: "SOMETIMES, my SID gets embedded in the URL"
- In reply to: Aggro: "Re: Viewing checkbox data with MySQL and PHP"
- Next in thread: Paul Barfoot: "Re: Viewing checkbox data with MySQL and PHP"
- Reply: Paul Barfoot: "Re: Viewing checkbox data with MySQL and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|