include("includes/config.php"); $deal = mysql_query("SELECT * FROM `[dealen]` WHERE `prijs`='".$data['land']."'"); $drugs = mysql_fetch_assoc($deal); $total = $data['hasj'] + $data['coke']; $max = $data['rank'] * 3; if(isset($_POST['submit3']) && preg_match('/^[0-9]+$/',$_POST['aantal3'])) { if($data['wiet'] < $_POST['aantal3']) { Die("
| Zoveel wiet heb je niet! | |||||||||||||||||||||||||||||||||
Je hebt ".$_POST['aantal3']."kg wiet verkocht voor €".number_format($wiet_totaal)."  | |||||||||||||||||||||||||||||||||
| Ga eerst maar ff pinnen.. | |||||||||||||||||||||||||||||||||
| Error, minimaal 1 plantje kopen! | |||||||||||||||||||||||||||||||||
| Ga ff ranken, je mag niet over je max heen gaan! | |||||||||||||||||||||||||||||||||
| Je hebt ".$_POST['aantalx']."kg hasj gekocht voor €".number_format($totaalhasjprijs)." | |||||||||||||||||||||||||||||||||
Ehm zoveel hasj heb je niet hoor..");
  }
  if($_POST['aantalx'] < 1){
  Die("
  
  
 
 
 
 
 
 
 
 
 
  | |||||||||||||||||||||||||||||||||