Only user with avater to post message in chatr00m...

Started on the old forum in July 2011 · view the original in the archive · old links redirect here

2 replies · 478 views · started 15 years ago · 1 min read

2 participants
Wintch Developer · 68 posts #1

Hi coders, pls i want Only user with avater to post message in chatroom. Can som1 Help

something else Fellow · 2,296 posts #2
$ava = mysql_query("SELECT avater FROM table WHERE id='".$uid."'");
if(!isset($ava[0])){
echo 'You must have an avatar to be able to type in chat<br/>';
}else{
//normal stuff here
}
Wintch Developer · 68 posts #3

Tanx men.... I wil edit it to suit my skript

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close