Adobe Dreamweaver 0
Adobe Muse 0
ASP.net 0
.htaccess 6
CSS 5
Perl 0
PHP 47
PHP - User System 2
HTML 12
Java 0
Javascript 14
Ruby on Rails 0
General Web Development 4
Operating Systems
Video & Audio Editing
Adobe After Effect 0
Adobe Premiere 0
Adobe Audition 0
Final Cut 0
FruityLoops 0
iMovie 0
Windows Movie Maker 0
App Development
Hardware
Miscellaneous
find:
you can replace with:
This should make sure that the text entered for level is a number instead of letters or other random text.
And use the select to find the user's online where the row online says YES
can someone help me out?
i'm looking for a way to show current online users
the function safe didnt work when i tried it, i replaced it with
$username= htmlspecialchars(addslashes($_POST[name]));
$level= htmlspecialchars(addslashes($_POST[level]));
and it worked...
enough?
Also, please tell me the error.
$username = safe($_POST[name]);
$level = safe($_POST[level]);
put
$username= htmlspecialchars(addslashes($_POST[name]));
$level= htmlspecialchars(addslashes($_POST[level]));
that's the correct way to safe it lol :P
ask an admin to change it for you