When I put the following:
Code: Select all
$pcompany = $row['pcompany'];
$pfname = $row['pfname'];
$plname = $row['plname'];
$pstreet = $row['pstreet'];
$pstreet2 = $row['pstreet2'];
$pcity = $row['pcity'];
$pst = $row['pst'];
$pzip = $row['pzip'];
$pphone = $row['pphone'];
$pfax = $row['pfax'];
$pcell = $row['pcell'];
$pemail = $row['pemail'];
$pweb = $row['pweb'];
$pname = $pfname . ' ' . $plname;Here is a sample of the full code:
Code: Select all
<?php
include 'includes/connect.php';
$query = "SELECT * FROM personal";
$result = mysql_query($query);
mysql_query($query) or die (mysql_error());
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
include "includes/personal-var.php";
}
?>Thanks