PHP-Code:
<?php
$user = mysql_fetch_array(db_query('SELECT kontostand FROM vms_kontodaten WHERE uid='.$_SESSION['uid'].' LIMIT 1'));
if($user['kontostand']>= 10.00){
//kontakformular
}else{
echo 'Fehlermeldung';
}
?>
PHP-Code:
<?php
$user = mysql_fetch_array(db_query('SELECT kontostand FROM vms_kontodaten WHERE uid='.$_SESSION['uid'].' LIMIT 1'));
if($user['kontostand']>= 10.00){
//kontakformular
}else{
echo 'Fehlermeldung';
}
?>
Kill one man, and you are a murderer.
Kill millions of men, and you are a conqueror.
Kill them all, and you are a god. - Jean Rostand, Thoughts of a Biologist (1939)