I have this PHP page which is supposed to be a list of employees with their positions..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"         "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>View Records</title>
</head>
<body>
<?php
    // connect to the database
    include('connection.php');
?>
<?php
    // get results from database
    $result = "SELECT employees.id, CONCAT( fname, lname ) AS FullName,     employees.hphone, employees.cphone, employees.email, position.pos\n"
. "FROM employees\n"
. "INNER JOIN position ON employees.posid = position.id\n"
. "ORDER by employees.id ASC LIMIT 0, 30 ";     
        or die(mysql_error());  
    // display data in table
    echo "<p><b>View All</b> | <a href='view-paginated.php?page=1'>View Paginated</a></p>";
    echo "<table border='1' cellpadding='10'>";
    echo "<tr> <th>ID</th> <th>Employee Name/th> <th>Home Phone</th> <th>Cell Phone</th> <th>Email</th> <th>Position</th> </tr>";
    // loop through results of database query, displaying them in the table
    while($row = mysql_fetch_array( $result )) {
            // echo out the contents of each row into a table
            echo "<tr>";
            echo '<td>' . $row['employees.id'] . '</td>'
            echo '<td>' . $row['FullName'] . '</td>';
            echo '<td>' . $row['employees.hphone'] . '</td>';
            echo '<td>' . $row['employees.cphone'] . '</td>';
            echo '<td>' . $row['employees.email'] . '</td>';
            echo '<td>' . $row['position.pos'] . '</td>';                
            echo '<td><a href="edit.php?id=' . $row['employees.id'] . '">Edit</a></td>';
            echo '<td><a href="delete.php?id=' . $row['employees.id'] . '">Delete</a>    </td>';
            echo "</tr>"; 
    } 
    // close table>
    echo "</table>";
?>
<p><a href="drop.php">Add a new record</a></p>
</body>
</html> 
But I can only get a white page..no errors no nothing....can someone help me please..i am using linux mysql and PHP....i know the sql works because i can get the records from it via MyPHPAdmin..
Please help.
 
     
    