No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hii.. i am getting error msg when running this program. pls verify if anybody can.. code: <?php session_start(); //session_register("username"); //session_encode(); //$url="Location:loggedin.php?PHPSESSID=".$PHPSESSID; // header($url); if(isset($_POST['submit'])) { if(empty($password)){echo "No password specified";} $connection=mysql_connect("localhost","wwwuser_raja","kalika"); if(!$connection) {echo"<b>connection not set...</b><br>";} $sel=mysql_select_db("wwwuser_raja"); if(!$sel) {echo"<b>database not selected...</b><br>";} $query="select password from users where username='".$username."'"; $result=mysql_query($query); if($row=mysql_fetch_array($result)) { if(!(md5($password)==$row["password"])) {echo … |
|
hiiii.... i am just started php...The problem is that the web page blank when an syntax error occurs in code ,,,so i am getting difficulties to locate the problem...how can i know wher is the problem..? can any one please help me........! |