<? include ("config.php"); $r=mysql_query("SELECT * FROM `ibf_members` WHERE 1"); while($Row=mysql_fetch_array($r)) { mysql_select_db("portal"); $id=(1650+$Row[user_id]); //Собственно перенос части параметров. mysql_query ("INSERT INTO ibf_members( `id` , `name` , `mgroup` , `password` , `email` , `joined` , `ip_address`, `avatar` , `posts` , `aim_name` , `icq_number` , `location`, `signature` , `website` , `yahoo` , `interests` , `msnname` , `last_visit` ) VALUES ('$id', '$Row[username]', '3', '$Row[user_password]', '$Row[user_email]', '$Row[user_regdate]', '127.0.0.1', '$Row[user_avatar]', '$Row[user_posts]', '$Row[user_aim]', '$Row[user_icq]', '$Row[user_from]', '$Row[user_sig]', '$Row[user_website]', '$Row[user_yim]', '$Row[user_interests]', '$Row[user_msnm]', '$Row[user_lastvisit]')"); } ?> |