Originally Posted by AndrewGSW
AFAIK, serizlize (sic) and unserialize don't work on objects.
I assume you are referring to JS stringify() and parse()? Serializing in PHP is intended to serialize objects..? Added
: to pass a simple array of ids (integers) as a string I would prefer implode() and explode() which have less overhead than serialize().
If passing OOP objects between pages you are likely to store them as serialized session data, as indicated by tangoforce's recent post.
@Andrew: Library is closing. Hope to be back in maybe 20 minutes from somewhere else.
In the mean time, can you please explain more about using Implode/Explode versus Serialize/Unserialize and how I'd go about that?
All of this is quite overwhelming for a newbie like me?!
I can say, though, that "Yes", all I am trying to pass back to my same script is a listing of all MessageID's in the InBox, so my script can UPDATE all Messages in the Inbox (versus individual Messages that may have been "cherry-picked".)
I'm not sure what is the best way to do that, but as you can see, I figured I'd just pass an array in the $_POST?!
(Here is where maybe you more seasoned developers can show me the *best* way to do this using my Procedural Coding.)
Back in a few...
@Debbie HIDDEN only means hidden from view on the page - it is completely visible/accessible when posted to PHP.
Oh, okay. It just leaves me feeling like it is too exposed or something?!
(Security is important to me!!)