yea NogDog that is what i just did well close to it anyway without the JOin syntax though.
$query = "SELECT * FROM salesa, salesb, pictures
WHERE salesa.id = salesb.id = pictures.id ='1' ";
$result = mysql_query($query) or die(mysql_error());
// Print out the contents of each row into a table
$row = mysql_fetch_array($result);
echo $row['product']. " - $". $row['dll'].".". $row['cen']." - ".
$row['cna']." - ".$row['adress'];
echo "<br />";
I realized I could just use a simple SELECT syntax selecting from the 3 tables equaling the id's with the WHERE syntax and echoing the rows i needed echoed. I had to divide my table into 3 because apparently mysql doesn't allow tables with the total number of characters in the names of the column more than a certain number so i had to make the names smaller and divide my tables into 3, Before splitting them i had a total number of 12 columns.