If you've seen a serialised variable a few times, you get to know how one is set up and how to interpret it. If you're using serialised variables, I'd suggest serialising a few simple ones and see what the output looks like so that you can see when things are going amiss.
This is one way that I debug things. Instead of var_dump()ing or print_r()ing something, I'll "echo serialize(...)". It's more compact than var_dump/print_r Martin -----Original Message----- From: Geoff Caplan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 3:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Unserialize stopped working after php & db upgrade Paul, PN> It looks like that string has been serialized multiple times Many thanks - that is the problem! I think that this qualifies as one of my more creative bugs... Can I ask you how you spotted this? Pretty impressive, considering you only had the string itself to go on. Thanks again, -- Geoff Caplan Advantae Ltd mailto:[EMAIL PROTECTED] http://www.advantae.com -- 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