I've created a form page that sends the input to the script page listed here, but something is wrong since I don't get anything when I try to print the results from the query...what is wrong???
<html>
<head>
<title>Mysite</title>
</head>
<body bgcolor="white">
<?php
$nick=$POST[Nickname];
$pass=$POST[pass];$conn=@mysql_connect("localhost", "root") or die("kunde inte ansluta");
$db=mysql_select_db("dating");
$sql="SELECT * FROM user_male WHERE Nickname=".$nick." AND losen=".$pass;
$sql2=$sql;
$result=mysql_query($sql2);
$rad = @mysql_fetch_array($result);
echo $rad[Nickname];
mysql_close($conn);
?>
</body>
</html>
I'm pretty new to php, althought I have worked with java before, so I might have missed something fundamental or basic that you can't do, or should do in php.
try to explain it in simple terms