Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: <?php if($_POST['submit']) { include("conn.php"); $username = $_POST['username']; $password = $_POST['password']; $sql = "select username,accesslevel from tblusers where username='$username' and password='$password'"; $res = $conn->query($sql); if($res->num_rows>0){ $row = $res->fetch_assoc(); extract($row); $_SESSION['username'] = $username; $_SESSION['accesslevel'] = $accesslevel; echo "<script>window.location='listproducts.php';</script>"; } $conn->close(); } ?> i have that in my log in form.. what must … ![]() |
The End.