This is my first time working with clases and i have a problem with a SELECT on mySQL.
$query="SELECT * FROM foro_nombres WHERE level <= $foro_user->Record[level] ORDER BY id_foro ";
y printed the $query and it returns
SELECT * FROM foro_nombres WHERE level <= Array[level] ORDER BY id_foro
so the problem is variable $foro_user->Record[level] , how can i make it work ?!