> a:4:{i:0;s:1:"1";i:1;s:1:"2";i:2;s:1:"3";i:3;s:1:"
>
> When I output this to the screen I get the same as above. But when I
> try to echo the unserialized result I get nothing. I am using:
> echo $db_result->lists_actual (nothing is returned)
Show more code... Also use "View Source" in you
9:10 PM
To: 'Matthew Delmarter'
Cc: 'PHP Mailing List'
Subject: RE: [PHP] storing array in mysql
To be honest, I don't know what this line does:
Echo $db_result->lists_actual
I also noticed something... it appears that the serialized data is
incorrect... are you sure you
small to store the serialized data?
Hope this helps =>
Ben
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 8:34 PM
To: Ben Bleything
Cc: PHP Mailing List
Subject: RE: [PHP] storing array in mysql
Hi Ben,
This is a section of the inser
if i want to search this array,how do this sql?thanks
--
???: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
: 2001?7?31? 11:34
???: Ben Bleything
??: PHP Mailing List
??: RE: [PHP] storing array in mysql
Hi Ben,
This is a section of the insert statement I used
ge! I
should admit that I am only just getting used to arrays...
Matthew
-Original Message-
From: Ben Bleything [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:03 PM
To: 'Matthew Delmarter'
Subject: RE: [PHP] storing array in mysql
Have you tried serialize()'ing it
Hi all,
I want to store the results of a multiple select input box in a mysql
db. The box looks like this:
name
I cannot seem to store the array in a database and then output the
result using foreach. Any tips?
Regards,
Matthew Delmarter
Web Developer
AdplusOnline.com Ltd
www.adplus
6 matches
Mail list logo