Can I modify a MySQL object?
| From: | Brian Dunning | Date: | Thu, 24 Mar 2011 00:06:56 +0000 |
| Subject: | Can I modify a MySQL object? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-312025@lists.php.net to get a copy of this message | ||
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?