When ever I try to load my PHP document in IE I get the following error message...
XML page cannot be displayed. Cannot view XML input using style sheet. Invalid at the top level of the document. Error processing resource 'http://localhost/Sessions/login.php'. Line 1, Position 1 ...and then it displays the query string I have built up. I think the problem lies where I have tried to build the variable via a long query string. Whenever I leave out these lines of code, everything works fine. The code is below... $query_2_tables = "select patients.patientid, patients.firstname, patients.surname from auth, patients "; $query_2_tables .= "where username='".$username."' and password='".$password."'"; $query_2_tables .= "and auth.patientid = patients.patientid"; echo $query_2_tables; ...if anyone can identify what the problem is it would be a great help. Cheers. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php