I'm trying to retrieve some data from my table only for some reason I cant get it to return anything.
<?php
$curr_uemail = mysql_query("select * from produgg_users where produgg_users.id = ".$usersClass->userID().") or die(mysql_error())");
$arr_uemail = mysql_fetch_array($data);
while($arr_uemail = mysql_fetch_array($data))
{
echo $arr_uemail['email'];
}
/*For Debugging purposes
echo $usersClass->userID();*/
?>
Can anybody see anything wrong with my syntax?
") or die(whoops)");didn't you notice the strange highlighting? x)