Re: What to do with my array?? Advise needed....

From: Date: Fri, 05 Mar 2004 10:01:11 +0000
Subject: Re: What to do with my array?? Advise needed....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-179540@lists.php.net to get a copy of this message
You are trying to pass the values in the array unto the next page? Well, try the serialize() function. With this you can have a single hidden field with all the values of a huge array stored in it and passed to another page. Hope this helped. "Ryan A" <ryan@coinpass.com> wrote in message news:000301c40263$c2c5b050$f081aa51@l2zcaxu7emppqh... > Hi, > heres what I have to do and how I'm trying to do it: > > 1.Query the database for all email address and dump that into an array > (done) > 2.Email all the people in from that array. > > Problem: > Problem is, I have no idea how many email addresses are going to get dumped > into that array, > and I dont want to have 10000 hidden fields for 10000 addresses...is it > legal (and ok) to put > the array into a session or some way of passing that array? > > What to do? Advise appreciated. > > Thanks, > -Ryan

« previous php.general (#179540) next »