Код: Выделить всё
$sql = 'SELECT username, user_id, user_level
FROM ' . USERS_TABLE . '
WHERE username . ' $text;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not obtain user information.", '', __LINE__, __FILE__, $sql);
}Что такого страного? В переменную $text идет любое имя пользователя.







