Thanks for that I could not see anything odd in the first page but what do I know after a frustrating day it seems nothing this is the code in question from the firt page;
<?php require_once('Connections/hilbo.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
$maxRows_TestA = 10;
$pageNum_TestA = 0;
if (isset($_GET['pageNum_TestA'])) {
$pageNum_TestA = $_GET['pageNum_TestA'];
}
$startRow_TestA = $pageNum_TestA * $maxRows_TestA;
mysql_select_db($database_hilbo, $hilbo);
$query_TestA = "SELECT * FROM hilbohosting ";
$query_limit_TestA = sprintf("%s LIMIT %d, %d", $query_TestA, $startRow_TestA, $maxRows_TestA);
$TestA = mysql_query($query_limit_TestA, $hilbo) or die(mysql_error());
$row_TestA = mysql_fetch_assoc($TestA);
if (isset($_GET['totalRows_TestA'])) {
$totalRows_TestA = $_GET['totalRows_TestA'];
} else {
$all_TestA = mysql_query($query_TestA);
$totalRows_TestA = mysql_num_rows($all_TestA);
}
$totalPages_TestA = ceil($totalRows_TestA/$maxRows_TestA)-1;$maxRows_TestA = 10;
$pageNum_TestA = 0;
if (isset($_GET['pageNum_TestA'])) {
$pageNum_TestA = $_GET['pageNum_TestA'];
}
$startRow_TestA = $pageNum_TestA * $maxRows_TestA;
mysql_select_db($database_hilbo, $hilbo);
$query_TestA = "SELECT * FROM hilbohosting ";
$query_limit_TestA = sprintf("%s LIMIT %d, %d", $query_TestA, $startRow_TestA, $maxRows_TestA);
$TestA = mysql_query($query_limit_TestA, $hilbo) or die(mysql_error());
$row_TestA = mysql_fetch_assoc($TestA);
if (isset($_GET['totalRows_TestA'])) {
$totalRows_TestA = $_GET['totalRows_TestA'];
} else {
$all_TestA = mysql_query($query_TestA);
$totalRows_TestA = mysql_num_rows($all_TestA);
}
$totalPages_TestA = ceil($totalRows_TestA/$maxRows_TestA)-1;
?>
<?php do { ?>
Hosting Services we offer;
<?php echo $row_TestA['type']; ?>
Server
<?php echo $row_TestA['server']; ?>
Server Details
<?php echo $row_TestA['servdetails']; ?>
Email Offered
<?php echo $row_TestA['email']; ?>
<?php echo $row_TestA['emaildetail']; ?>
<?php echo $row_TestA['connection']; ?>
Price £<?php echo $row_TestA['price']; ?>
Ask Us?
<?php
mysql_free_result($TestA);
?>
<?php } while ($row_TestA = mysql_fetch_assoc($TestA)); ?>