This is where we provide you with useful information regarding Petite Sirah.

Appellation America – Once you are on the Appellation America home
page, search on “Petite Sirah” for many in depth stories.

include(“includes/php/config.php”);
$query=”SELECT * FROM resources ORDER BY resource_name”;
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();

$i=0;
while ($i < $num) {

$resource_name=mysql_result($result,$i,”resource_name”);
$description=mysql_result ($result,$i,”description”);
$link=mysql_result ($result,$i,”link”);

//Set target type for ahref
echo ”

“;
// See if files is a pdf
if (ereg(“.pdf”, “$link”)) {
echo”$resource_name“;
// See if files is php
}elseif (ereg(“.php”, “$link”)){

echo”$resource_name“;
}else {
echo””;
}
if ($description == Null) {
echo””;
}else {
echo” – $description”;
}
echo”

“;
$i++;
}

?>