note 89854 added to function.mysql-fetch-assoc
| From: | Charles at osu1 dot php dot net | Date: | Wed, 25 Mar 2009 23:20:47 +0000 |
| Subject: | note 89854 added to function.mysql-fetch-assoc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152455@lists.php.net to get a copy of this message | ||
> If anyone can find a faster way to do this, I'd be glad to know about it...
You can do this directly in a query, without involving PHP at all.
INSERT INTO tbl_target(col1, col2, ...)
SELECT col1, col2, ... FROM tbl_source
WHERE ...
----
Server IP: 64.71.164.2
Probable Submitter: 64.81.161.160
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-assoc.php
Edit -- https://master.php.net/note/edit/89854
Del: integrated -- https://master.php.net/note/delete/89854/integrated
Del: useless -- https://master.php.net/note/delete/89854/useless
Del: bad code -- https://master.php.net/note/delete/89854/bad+code
Del: spam -- https://master.php.net/note/delete/89854/spam
Del: non-english -- https://master.php.net/note/delete/89854/non-english
Del: in docs -- https://master.php.net/note/delete/89854/in+docs
Del: other reasons-- https://master.php.net/note/delete/89854
Reject -- https://master.php.net/note/reject/89854
Search -- https://master.php.net/manage/user-notes.php