Excellent (10/10) Ingredient Ratings

JerkyIngredients.comAll jerky ingredient reviews that received Excellent (10/10) ingredient ratings.

[php]

$username = apply_filters( ‘username’, ” );
$password= apply_filters( ‘pwd’, ” );
$database= apply_filters( ‘databasename’, ” );
$server = apply_filters( ‘servername’, ” );

mysql_connect($server,$username,$password);
@mysql_select_db($database) or die(“Unable to select database”);

$i=0;

$query = “select count(*) as ingredientcount from ingredient”;
$result=mysql_query($query);
$ingredientcount=mysql_result($result,$i,”ingredientcount”);

$query = “select count(*) as ingredientcount10 from ingredient where rating = 10″;
$result=mysql_query($query);
$ingredientcount10=mysql_result($result,$i,”ingredientcount10”);

$query = “select count(*) as ingredientcount9 from ingredient where rating = 9″;
$result=mysql_query($query);
$ingredientcount9=mysql_result($result,$i,”ingredientcount9”);

$query = “select count(*) as ingredientcount8 from ingredient where rating = 8″;
$result=mysql_query($query);
$ingredientcount8=mysql_result($result,$i,”ingredientcount8”);

$query = “select count(*) as ingredientcount7 from ingredient where rating = 7″;
$result=mysql_query($query);
$ingredientcount7=mysql_result($result,$i,”ingredientcount7”);

$query = “select count(*) as ingredientcount6 from ingredient where rating = 6″;
$result=mysql_query($query);
$ingredientcount6=mysql_result($result,$i,”ingredientcount6”);

$query = “select count(*) as ingredientcount5 from ingredient where rating = 5″;
$result=mysql_query($query);
$ingredientcount5=mysql_result($result,$i,”ingredientcount5”);

$query = “select count(*) as ingredientcount4 from ingredient where rating = 4″;
$result=mysql_query($query);
$ingredientcount4=mysql_result($result,$i,”ingredientcount4”);

$query = “select count(*) as ingredientcount3 from ingredient where rating = 3″;
$result=mysql_query($query);
$ingredientcount3=mysql_result($result,$i,”ingredientcount3”);

$query = “select count(*) as ingredientcount2 from ingredient where rating = 2″;
$result=mysql_query($query);
$ingredientcount2=mysql_result($result,$i,”ingredientcount2”);

$query = “select count(*) as ingredientcount1 from ingredient where rating = 1″;
$result=mysql_query($query);
$ingredientcount1=mysql_result($result,$i,”ingredientcount1”);

mysql_close();
[/php]

JERKY INGREDIENT RATINGS
Excellent (10/10) – ([php] echo $ingredientcount10; [/php]) Very Good (9/10) – ([php] echo $ingredientcount9; [/php])
Good (8/10) – ([php] echo $ingredientcount8; [/php]) Decent (7/10) – ([php] echo $ingredientcount7; [/php])
Alright (6/10) – ([php] echo $ingredientcount6; [/php]) Average (5/10) – ([php] echo $ingredientcount5; [/php])
Fair (4/10) – ([php] echo $ingredientcount4; [/php]) Bad (3/10) – ([php] echo $ingredientcount3; [/php])
Very Bad (2/10) – ([php] echo $ingredientcount2; [/php]) Terrible (1/10) – ([php] echo $ingredientcount1; [/php])

Jerky Ingredients reviewed: [php] echo $ingredientcount; [/php]

Excellent (10/10) Jerky Ingredients ratings: [php] echo $ingredientcount10; [/php]

[php]

$username = apply_filters( ‘username’, ” );
$password= apply_filters( ‘pwd’, ” );
$database= apply_filters( ‘databasename’, ” );
$server = apply_filters( ‘servername’, ” );

mysql_connect($server,$username,$password);
@mysql_select_db($database) or die(“Unable to select database”);

$query = “select \n”
. “ingredientname,\n”
. “description,\n”
. “rating \n”
. “from ingredient \n”
. “where rating = 10 \n”
. “order by ingredientname\n”;

$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();

$i=0;
while ($i < $num) { $description=mysql_result($result,$i,"description"); $ingredientname=mysql_result($result,$i,"ingredientname"); $rating=mysql_result($result,$i,"rating"); [/php]

[php] $i++; } [/php]

Excellent (10/10) Jerky Ingredient Rating
Name: [php] echo $ingredientname; [/php]
Description: [php] echo $description; [/php]
Rating: [php] echo $rating; [/php]/10