<?php $strcnn=mysql_connect("localhost","root",""); mysql_select_db("data",$strcnn);
$user=$_POST['user']; $pass=$_POST['pass'];
$strq="select * from tbluser where user='$user' AND pass='$pass'";
$result=mysql_query($strq); echo mysql_num_rows($result);
if(mysql_num_rows($result)<>0) { echo "helo:".$user; } else { echo "<a href='bai141.php'> quay lai</a>"; } ?>
7/07/2009
Subscribe to:
Post Comments (Atom)
List
Profiles Information
About me : Nothing is 1 vài thứ - 1985
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥
Places I've Lived : I ♥ Hà Nội
Home Page : http://www.shimivn.blogspot.com/
Think : 1:1000000000
Languages spoken : Vietnamese,English.
Mobile : sony C2305 ♥ ♥
dell : i3-Ram 3GB- HDD 250GB . ♥♥♥
No comments: