Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2003022

[PHP] PHP & MySQL "Move" From: John Taylor-Johnston (taylorjo <email protected>)
Date: 02/28/03

Assuming MySQL can do this, I need to generate some code that would MOVE a record from one table to another. Not just a MySQL code problem?

Pseudo code: base.table

select base1.table where id=25
insert result base2.table
delete base1.table where id=25

Can I even do this in MySQL? If so, what will the PHP code look like?
I would have to dump the select into memory?

Sorry if I end up off topic.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php