*** i'm new and***
i can connect to my little mysql db just fine in php AND i can output all files (only 2 rows of data right now).
problem: how do i grab the parameter in
http://customtvis.com/caddetails_res...number=TVIS101
result page code thus far (minus the private stuff):
<?php
//make connection
mysql_connect ("", "",
"") or die ('I cannot connect to the database because:' .mysql_error());
mysql_select_db ("cad");
//build query
$query = mysql_query("SELECT * FROM cad");
//display results
while ($row = mysql_fetch_array($query)) {
echo "<br /><h3>" .$row['number'].
"<br />".$row['title'].
"</h3><h4>".$row['category'].
"<br />".$row['subtitle'].
"</h4><br /> Downloads: ".$row['pdf'].
" | ".$row['dwg'].
"<br />".$row['image'].
"<br /> <br />".$row['description'].
"<br /> <br /><em>Notes: ".$row['notes'].
"</em><br />";}
?>



***
Reply With Quote



Bookmarks