PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Can someone tell me how to add more values like "currency" when country is selected. the currency is auto insert in to the table currency.
EX. selecting USA -> USA, the country is insert into country table, and USD is insert into currency table....
mysql_query("INSERT INTO users
(`user_email`,`user_pwd`,`country`,`currency`,`transacc`,`joined`,`activation_code`,`full_name`,`Website`)
VALUES
('$_POST[email]','$md5pass','$_POST[country]','$_POST[currency]','$_POST[transacc]',now(),'$activ_code','$_POST[full_name]','$_POST[Website]')") or die(mysql_error());