
PK 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
$conn=mysql_connect("localhost","pcfcindi_lg2012","XEgzF{X^e]~i") or die('Could not connect to Server');
mysql_select_db("pcfcindi_old2012",$conn) or die('database not found');
// Head inserts
/* $sqlUser = mysql_query("select * from head ORDER BY headid ASC");
while($rows = mysql_fetch_array($sqlUser)){
$conn = mysql_connect("localhost","pcfcindi_lg2012","XEgzF{X^e]~i") or die('Could not connect to Server');
mysql_select_db("pcfcindi_old2012",$conn) or die('database not found');
mysql_query("insert into head (headname,headaddress,headperson,headphone,headdebit,headcredit,headdecp,headdate,parhead,status) VALUES
('".$rows['headname']."','".$rows['headaddress']."','".$rows['headperson']."','".$rows['headphone']."','".$rows['headdebit']."','".$rows['headcredit']."','".$rows['headdecp']."','".$rows['headdate']."','".$rows['parhead']."','".$rows['status']."')");
}
*/
//Clients
/*$sqlUser = mysql_query("select * from clients ORDER BY subid ASC");
while($rows = mysql_fetch_array($sqlUser)){
$conn = mysql_connect("localhost","pcfcindi_lg2012","XEgzF{X^e]~i") or die('Could not connect to Server');
mysql_select_db("pcfcindi_old2012",$conn) or die('database not found');
mysql_query("insert into clients (subname,subaddress,subperson,subphone,date,status) VALUES
('".$rows['subname']."','".$rows['subaddress']."','".$rows['subperson']."','".$rows['subphone']."','".$rows['date']."','".$rows['status']."')");
}
*/
?>
</body>
</html>


PK 99