or
g/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>PhP :: Basic Pagination</title>
</head>
<body>
<? // php require_once('Connections/con1.php'); ?>
<?
// $hostname_con1 = "localhost";
// $database_con1 = "testdb";
// $username_con1 = "root";
// $password_con1 = "password123";
// $con1 = mysql_pconnect($hostname_con1, $username_con1, $password_con1) or tri
gger_error(mysql_error(),E_USER_ERROR);
?>
<?php
// database connection info
//@ $conn = mysql_connect('localhost','dbusername','dbpass') or trigger_error("S
QL", E_USER_ERROR);
//@ $db = mysql_select_db('dbname',$conn) or trigger_error("SQL", E_USER_ERROR);
$conn = mysql_connect('localhost','root','password123') or trigger_error("SQL",
E_USER_ERROR);
$db = mysql_select_db('testdb',$conn) or trigger_error("SQL", E_USER_ERROR);