Well... just a thought - are you sure you've got a file called "Logged.php" ? and not "logged.php"? PHP is often case sensitive. Try changing the header-content to the following: header("location: http://www.yoursite.com/logged.php"); and see if that works. Change the "yoursite" to your actual site-name, of course.
what is wrong in this querry $querry="SELECT * from UserData where UserName=$logUser and Password=$logPassword" ; echo $querry; $result=mssql_query($querry,$msconn); it is giving error invalid column name $loguser and invalid column name $logpassword
if u refer my previous post on 1st page regarding page redirection im still nt able to do tht using header[location:mypage] i hv tried ob_start and ob_flush in vain please suggest sumthing
No, I was referring to you latest question about what was wrong with the query. If the ob_start and ob_flush doesn't work, there is something weird with the server - it should work just fine.