Jump to content

Blank page


monkeypaw201

Recommended Posts

Ok, im getting mad at this piece of code:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<meta name="author" content="www.gorotron.com" />
<title>VA Software Solutions :: Airlines</title>
<link rel="stylesheet" type="text/css" href="css/site.css"/>
</head>
<body>

<div id="wrapper">

<div id="content">

  <div id="masthead">
   <h1>Vitual Airline Software Solutions</h1>
  </div>

  <div id="nav">
   <ul>
    <li><a href="index.php">Home</a></li>
    <li><a href="signup.php">Sign up</a></li>
    <li><a href="airlines.php">Airlines</a></li>
    <li><a href="software.php">Software</a></li>
    <li><a href="contact.php" class="noBorder">Contact</a></li>
   </ul>
  </div>

  <div id="main">

   <p>Airlines
            
            <?php

$hostname_conn_abrv = "localhost";   
$database_conn_abrv = "database"; 
$username_conn_abrv = "user"; 
$password_conn_abrv = "pass"; 
$conn_abrv = mysql_pconnect($hostname_conn_abrv, $username_conn_abrv, $password_conn_abrv) or trigger_error(mysql_error(),E_USER_ERROR); 

mysql_select_db($database_conn_abrv, $conn_abrv);
$query_pilots = "SELECT * FROM virtual_airlines";
$pilots = mysql_query($query_pilots, $conn_abrv) or die(mysql_error());
$row_pilots = mysql_fetch_assoc($pilots);
$totalRows_pilots = mysql_num_rows($pilots);
?><br />
<br />
<table width="600" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td width="169">Airline Name</td>
    <td width="217">Airline CEO</td>
    <td width="217">Airline Website</td>
  </tr>
  <?php do { ?><tr>
    <td><?php echo $row_pilots['va_name']; ?></td>
    <td><?php echo $row_pilots['first_name']; ?> <?php echo $row_pilots['last_name']; ?></td>
    <td><?php echo $row_pilots['va_url']; ?></td>
  </tr><?php } while ($row_pilots = mysql_fetch_assoc($pilots)); ?>
</table></p>

   </div>

</div>

</div>

<div id="footer">
<p>© 2008 Virtual Airline Software Solutions. All Rights Reserved.... Our Recomeneded VA <a href="http://www.globalskyairlines.com">Global Sky Airlines</a></p>
</div>


</body>
</html>

 

It just gives me a blank page..

Link to comment
Share on other sites

Try removing all the PHP code and see if the page is showing something. If it is, then there is an error somewhere in your PHP code. If it is just a white page, then chances are your server is currently set to log the errors instead of outputting in. Check your error logs to see what the errors are.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.