Hi, I'm new with php and I'd like to know if a record was found or not?
This is my code:
This is my code:
Code:
<?php
if($_POST['status']=='ok'){
//Valida la conexión a la base de datos
include("Conn.php");
$link=Conectarse();
$result=mysql_query("select * from admin where user=".$_POST['user']." and pwd=".$_POST['pwd'],$link);
echo('el valor es '.$result);
}
?>