:disgust;

can anyone tell me if you have run across html content disappearing after
adding PHP syntax.

i have attached the code for ideas.

thanks,

[email]jthompson@vtlspace.com[/email]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<?php //include('login_inc.php'); ?>
<?php
//$hostname_users = "localhost";
//$database_users = "callcenter";
//$username_users = "root";
//$password_users = "";


// HERE IS THE CORRECT CONNECTION SETTINGS FOR THIS PAGE!!!!!

//<!-- THIS WORKS -->
$linkID = mysql_connect("localhost","","");
if($linkID !=FALSE){
print "Connection was successful";
}
else
{
print "Connection failed again!";
}
mysql_close($linkID);

?>


<!-- THIS WORKS -->
<?php
$linkID = @mysql_connect("localhost","","", "") or die ("Connection to
database is not working!");

//if (mysql_select_db("callcenter", $linkID) !=FALSE;)
//{
//print "database successfull";
//}
//else
//{
//print "database failed";
//}
//mysql_close($linkID);
?>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Virtual Space - Call Center</title>

<style type="text/css">

-->
</style>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->
</script>
<link href="css/index.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
}
-->
</style>
</head>

<body>
<!-- FROM HERE ON IS WHERE THE CODE CAUSE THE CONTENT TO NOT APPEAR.!! -->
<h2 align="center"> User Information Database</h2>
<?php

//mysql_select_db("users", $linkID);
//$resultID = mysql_query("SELECT * FROM users", $linkID);

//print "<table border = 1><tr><th> User ID </th>";
//print "<th>User name</th><th>password</th></tr>";
//while($row = mysql_fetch_row($resultID))
//print"<tr>";
//foreach($row as $field)
//{
//print "<td>$field</td>";
//}
//print "</tr>";
//}
//print "</table";
//mysql_close($linkID);

?>

<table width="800" border="0" align="center" cellpadding="3" cellspacing="5"
bgcolor="#CCCCCC">
<tr>
<th colspan="3" align="center" valign="top" scope="col"><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="800" height="130">
<param name="movie" value="topNav.swf">
<param name="quality" value="high">
<embed src="topNav.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="800" height="130"></embed>
</object></th>
</tr>
<tr>
<td colspan="3" align="center" valign="top" class="style1"><div
align="left">
<?php
// Prints something like: Wednesday 15th of January 2003 05:51:38 AM
echo date("l dS of F Y h:i:s A");

?> </div></td>
</tr>
<tr>
<td width="245" height="170" rowspan="2"valign="top"
class="style1"><p>&nbsp;</p>
</td>
<td height="17"valign="top" class="style1"><div align="center">Please Log
in Here </div></td>
<td height="170" rowspan="2"valign="top" class="style1">&nbsp;</td>
</tr>
<tr>
<td height="83"valign="top" class="style1"><!-- This form has been
created by a very famous Dreamweaver Extension, Form Maker 1.0.0, created by
Faraz Ahsan Latif. The Email Address of the creater is [email]farazahsan7@yahoo.com[/email]
and his website address is [url]http://www.asadfaraz.tk[/url]. For further information
please visit his site. Thank You.-->
<form action="ticketStatus_results.php" method="get" name="csLogin">
<!-- This form has been created by a very famous Dreamweaver
Extension, Form Maker 1.0.0, created by Faraz Ahsan Latif. The Email Address of
the creater is [email]farazahsan7@yahoo.com[/email] and his website address is
[url]http://www.asadfaraz.tk[/url]. For further information please visit his site. Thank
You.-->
<table width="410" border="0" cellpadding="2">
<tr>
<td nowrap><div align="RIGHT">Name :&nbsp;</div></td>
<td nowrap><input name="userName" type="TEXT" id="userName">
</td>
</tr>
<tr>
<td nowrap><div align="RIGHT">Password :&nbsp;</div></td>
<td nowrap><input name="password" type="PASSWORD" id="password">
</td>
</tr>
<tr>
<td nowrap>&nbsp;</td>
<td nowrap><div align="LEFT">
<input type="SUBMIT" name="SUBMIT" value="Submit">
&nbsp;&nbsp;&nbsp;
<input type="RESET" name="RESET" value="Reset">
</div></td>
</tr>
</table>
</form></td>
</tr>
<tr>
<td colspan="3">&nbsp;</td>
</tr>
<tr>
<td height="176" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td width="343" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
<td width="343" valign="top" bgcolor="#CCCCCC">&nbsp;</td>
</tr>
<tr>
<td colspan="3"><div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=6,0,29,0" width="800" height="25">
<param name="movie" value="btmNav.swf">
<param name="quality" value="high">
<embed src="btmNav.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="800" height="25"></embed>
</object>
</div></td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($clienLogin);

mysql_free_result($clientLogin);
?>