I have a problem with mysql_fetch_array, here's my code. Another thing, what id mysqli_* functions?
<?php
session_start();
include "config.php";
$conex = mysql_connect("localhost", "root");
$name = $_GET['name'];
$selected = "SELECT id,password,email,name FROM users WHERE username = '".$name."'";
$query = mysql_query($selected,$conex);
$rows = mysql_num_rows($query);
if($row = mysql_fetch_array($query))
{
$username = $row['username'];
$id = $row['id'];
$password = $row['password'];
$email = $row['email'];
}
?>
and when I run it on WAMP,it happens: