RE: [PHP-DB] table 1 to table 2
| From: | Cal Evans | Date: | Mon, 26 Mar 2001 19:52:56 +0000 |
| Subject: | RE: [PHP-DB] table 1 to table 2 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7848@lists.php.net to get a copy of this message | ||
insert into table2 Select * from table1 where myConditionIsMet;
Cal
http://www.calevans.com
-----Original Message-----
From: Tobe Johnson [mailto:tobe@johnsons.net]
Sent: Monday, March 26, 2001 1:41 PM
To: PHP-DB
Subject: [PHP-DB] table 1 to table 2
Using PHP, I need to run a query against one MySQL database table (table1)
and transfer the results into another identical MySQL database table
(table2). Am I simply overlooking something simple on how to do this? Can
someone give me input or direction on the best way to do this?
Thanks in advance
Tobe
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net