este es mi código:
Código PHP:
<?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);
}
?>