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.80K
1 Posted Topic
[code] <?php $conn=<?php $conn=mysql_connect("localhost","root","") or die("could not connect:" . mysql_error() ); $sql=mysql_select_db('btche_db',$conn); $studet="SELECT id,pass FROM student2 WHERE id = '".$_REQUEST['stid']."' AND pass = '".$_REQUEST['stpass']."' "; $result = mysql_query($studet); while ($row=mysql_fetch_array($result)) { session_start(); $_SESSION['id'] = $_POST['stid']; $_SESSION['userpass'] = $_POST['stpass']; $_SESSION['authuser'] = 0; if(($_SESSION['id'] == $row['id']) and ($_SESSION['pass'] == $row['pass'])) { $_SESSION['authuser'] …
The End.
gajendra dharwa