On Wed, Mar 23, 2011 at 05:12:00PM -0700, Brian Dunning wrote:
> I should have said "modify the contents of a MySQL resource".
>
> On Mar 23, 2011, at 5:06 PM, Brian Dunning wrote:
>
> > Let's say I do a query:
> >
> > $result = mysql_query("select * from tablename");
> >
> > Is there some way I can manually update the contents of certain
> > columns/records in $result? I don't want to actually update MySQL, just the
> > results that I'm holding in memory for this script. Can I do it without
> > converting it to a regular array?
Resources are, I believe, opaque, thus not directly modifiable (safely).
Paul
--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php