Re: Can I modify a MySQL object?
| From: | Brian Dunning | Date: | Thu, 24 Mar 2011 00:12:00 +0000 |
| Subject: | Re: Can I modify a MySQL object? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312026@lists.php.net to get a copy of this message | ||
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?
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>