hi i am a web hosting company and i am trying to code a script that shows packages for my website, i have made a page
hosting.php which basicaly says.
Web Hosting Packages:
Plus
Beginner
etc etc
This is mysql driven in php.
each oh the links on the hosting.php link to... showpack.php?id=$id
now here is the tricky part, sometimes when i clic plus it shows the beginner one and when i click beginner it shows beginner but most of the time i can only get the beginner one to show. any help is appreciated....
<?php
$id = $_GET['id'];
include "config.php";
print'</font></p>';
$db = mysql_connect($db_host,$db_user,$db_pass);
mysql_select_db ($db_name) or die ("Cannot connect to database");
$query = "SELECT * FROM site_hosting WHERE id=$id";
$result = mysql_query($query);
while($r=mysql_fetch_array($result))
{
include("vars"); // all the variables
include("getpackages.php"); // Other packages links
echo "THIS IS A TABLE SHOWING MY INFORMATION";
}
mysql_close($db);
?>
ANYONE WHO CAN HELP ME WITH THIS IDD REALLY APPRECIATE IT.