PHP expert |
|
$queryz = "SELECT location FROM users" ;
$queryz = "SELECT location FROM users" ;
Deze query gaat alle users selecteren. Je moet een selectie maken
<?
$queryz = "SELECT location FROM users WHERE username='".$_SESSION['login']."'";
?>
<? $queryz = "SELECT location FROM users WHERE username='".$_SESSION['login']."'"; ?>
|