Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #3K
~20.1K People Reached
About Me

Im a programmer.

Favorite Forums

7 Posted Topics

Member Avatar for FALL3N
Member Avatar for k9shark
Member Avatar for eduardc
Member Avatar for karthik_ppts
0
584
Member Avatar for cliffcc

when they login, add true into the online row in the database, then just check if online is true in php.

Member Avatar for rayidi
0
526
Member Avatar for kpsbhuvi

jquery: (not tested but should work) [CODE] if ($(".content").load('page.html')){ //code for file existing } [/CODE] I based this on the fact that the file wont return as true if its not there, but the problem is if the file thats its trying to get returns false it might not work=[

Member Avatar for tawes01
0
625
Member Avatar for aidant

So, when i click a button my jQuery dosent change the value of the div, this onaly happens in safari in all other browsers it works! Javascript: [CODE]$(document).keypress(function(){ if (event.keyCode==13) key('='); if (event.keyCode==42) key('*','x'); if (event.keyCode==43) key('+','+'); if (event.keyCode==45) key('-','-'); if (event.keyCode==46) key('.'); if (event.keyCode==47) key('/','÷'); if (event.keyCode==48) key(0); if …

Member Avatar for twiss
0
115
Member Avatar for darkrunner

<?php session_start(); include('connection.php'); $username = $_POST['username']; $password = $_POST['password']; $remember = $_POST['remember']; $sql = ("SELECT * FROM users WHERE username='$username'"); $result = mysql_query($sql); if ($result){ $rows = mysql_fetch_array($result); $passwordx = $rows['password']; if ($password == $passwordx){ $_SESSION[ses_id] = session_id(); $_SESSION[ses_username] = $username; echo "<meta http-equiv='refresh' content='0;url=session.php'>"; } else { echo "รหัสผ่านไม่ถูกต้อง"; …

Member Avatar for aidant
0
144

The End.