I am trying to extract info from db but it keeps returning "Array". My code is below, any help will be appreciated.
$conn = db_connect();
$query = "select first_name from users where email='$email'";
$result = mysql_query($query);
$result = mysql_fetch_array($result);
Always returns "Array".
[SOLVED] Simple PHP Questions
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users