[insert_php]
// Make a MySQL Connection
mysql_connect(βlocalhostβ, βnababutt_userβ, β361userβ) or die(mysql_error());
mysql_select_db(βnababutt_testβ) or die(mysql_error());
// Get record from the βplantsβ table
$result = mysql_query(βSELECT * β.
βFROM plants β.
βWHERE plants.id = β36β β)
or die(mysql_error());
$row = mysql_fetch_array($result);
echo β
β;
echo $row[βenglish_nameβ];
echo β
β;
echo β
(β;
echo $row[βscientific_nameβ];
echo β)
β;
echo β
Other common names for this plant include β;
echo $row[βother_namesβ];
echo β
β;
echo βGeneral Information
β;
echo βCultural Requirements
β;
echo βNative Range
β;
echo βPlant Rating
β;
echo βPlant Reviews
β;
echo β
β;
echo βGeneral Informationβ;
echo ββ;
echo β
β;
echo ββ;
echo $row[βintroductionβ];
echo β
β;
echo βImportance as a butterfly nectar source:β;
echo β
β;
echo $row[βbutt_nectar_sourceβ];
echo β
β;
echo βImportance as a caterpillar food source:β;
echo β
β;
echo $row[βcat_food_sourceβ];
echo β
β;
echo βCultural Requirementsβ;
echo ββ;
echo β
USDA Hardiness Zone | β; echo $row[βusdaβ]; echo β |
Bloom Period | β; echo $row[βbloom_periodβ]; echo β |
Bloom Color | β; echo $row[βbloom_colorβ]; echo β |
Plant Height | β; echo $row[βheightβ]; echo β |
Plant Spread | β; echo $row[βspreadβ]; echo β |
Light Exposure | β; echo $row[βlightβ]; echo β |
Soil Moisture | β; echo $row[βmoistureβ]; echo β |
Animal/Disease Problems | β; echo $row[βproblemsβ]; echo β |
β;
echo β
β;
echo βNative Rangeβ;
echo ββ;
echo β
β;
echo ββ;
echo β
β;
echo β
β;
echo β
β;
echo β
β;
echo β
β;
echo β
β;
echo βPlant Ratingβ;
echo ββ;
echo β
β;
echo βPlant rating scale ranges from 0 to 3. Plants rating 3 are the most useful for butterfly gardens. For more details on the ratings, see Native Plant Ratingsβ;
echo β
Garden Rating | β; echo $row[βgarden_ratingβ]; echo β |
Nectar Rating | β; echo $row[βnectar_ratingβ]; echo β |
Caterpillar Rating | β; echo $row[βcat_ratingβ]; echo β |
β;
echo β
β;
echo β
β;
echo $row[βreviewsβ];
[/insert_php]