Plis anyone help here and give me a example code script to create some link like this "/reg.php?refid=1,2,3,,,etc"
I hope someone else here can help me!
This my first code snippet but is not working, how to fix this?
I hope someone else here can help me!
This my first code snippet but is not working, how to fix this?
PHP Code:
if (isset($_GET['refid']))
{
$refid = mysql_fetch_array(mysql_query("SELECT * FROM `user` WHERE `id` = '".intval($_GET['id'])."' LIMIT 1"));
mysql_query("UPDATE `user` SET `idr` = '".($user['idr']+100)."' WHERE `id` = '$user[id]' LIMIT 1");
}
Comment