Now, you have echo $_POST['coins'] + $data2->points;?> coins added to echo $data2->title;?>
include('header.php'); foreach($_GET as $key => $value) { $protectie[$key] = filter($value); } $id = $protectie['id']; $dbres = mysql_query("SELECT * FROM `twitter` WHERE `active`='0' AND `user`='{$data->id}'"); $data2 = mysql_fetch_object($dbres); if(isset($_POST['add'])){ if($_POST['coins'] <= -1){ $mesaj = "
Now, you have echo $_POST['coins'] + $data2->points;?> coins added to echo $data2->title;?>