if (ereg("-6-",$user'[U_Groups'])) {
echo "(groupname)";
}
should be ?
if (ereg("-6-",$user['U_Groups'])) {
echo "(groupname)";
}
but that might not work either you could try either:
if (ereg("-6-",$user[U_Groups])) {
echo "(groupname)";
}
or just doing
$groups = $user[U_Groups];
if (ereg("-6-",$groups)) {
echo "(groupname)";
}
<a target="_blank" href=http://www.extremeforums.org/msg/announce/221.html>http://www.extremeforums.org/msg/announce/221.html</a>
Edited by poil on 07/24/01 08:52 AM.