Ok after searching around PHPBuilder and a few other sites I did part of what I want: http://www.steelragepro.com/bios.php?id=1
That is just one of the Bios however, I would like instead for it the url to be bios.php?id=wrestlers_name by calling the id from the MySQL database, but I don't know what to edit in my code I will attach the code so that somebody (hopefully) can help me and tell me how to go about doing this:
<?
$db_name = "xxxx";
$table_name = "xxxx";
$pathstring = getenv("HTTP_HOST")
== "localhost" ?
getenv("PATH_INFO") : $PHP_SELF ;
$connection = mysql_connect
("xxxx", "xxxx",
"xxxx")
or die("Couldn`t connect.");
$db = mysql_select_db($db_name, $connection)
or die("Couldn`t select database.");
$sql = "SELECT id, address, label, height, weight, hometown, finisher, quote, career_highlights, other_info, web_url FROM $table_name";
$sql .= " WHERE id = " . $id . ";";
$result = mysql_query($sql,$connection) or die
("Couldn`t
execute query.");
while ($row = @mysql_fetch_array($result))
{
$address = $row["address"];
$id = $row["id"];
$img = $row["address"];
$wrestler = $row["label"];
$height = $row["height"];
$weight = $row["weight"];
$hometown = $row["hometown"];
$finisher = $row["finisher"];
$quote = $row["quote"];
$career_highlights = $row["career_highlights"];
$other_info = $row["other_info"];
$web_url = $row["web_url"];
}
<!--THE HTML PART IS HERE NO NEED FOR THAT-->
?>
And like I said it does work, but just I want to get a different url up there and don't know what to change to do that 😕