Re: Storing Arrays?

From: Date: Tue, 24 Feb 2004 11:22:34 +0000
Subject: Re: Storing Arrays?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178668@lists.php.net to get a copy of this message
* and then Jay Blanchard declared.... > [snip] > If I wanted to store an array for future use in a MySQL TEXT Column > (dont ask, it's complicated... hehe!) how would I go about it? > > I thought of just putting the results of print_r($myarray); into the > text field and using eval() to get at it later... is that the right way > to go? > [/snip] > > Yes, that is certainly one right way to go. Actually, serialize() would be better suited I think, but thanks... -- Nick W

« previous php.general (#178668) next »