@mysql_connect("localhost", "web", "ffttss") or die("Could not connect to MySQL server!"); @mysql_select_db("company") or die("Could not select products database!"); $query = "SELECT * FROM products"; $result = mysql_query($query); print "
| Product ID | Product Name | Product Price | \n
|---|---|---|
| ".$row["prod_id"]." | \n".$row["prod_name"]." | \n".$row["prod_price"]." | \n"; print "