{"id":1873,"date":"2014-01-29T14:37:53","date_gmt":"2014-01-29T19:37:53","guid":{"rendered":"http:\/\/nababutterfly.com\/wordpress\/?page_id=1873"},"modified":"2014-01-29T14:37:53","modified_gmt":"2014-01-29T19:37:53","slug":"butterfly-milkweed","status":"publish","type":"page","link":"https:\/\/naba.org\/butterfly-milkweed\/","title":{"rendered":"Butterfly Garden Plant Asclepias tuberosa Butterfly Milkweed"},"content":{"rendered":"
<\/p>\n
[insert_php]<\/p>\n
\/\/ Make a MySQL Connection
\nmysql_connect(“localhost”, “nababutt_user”, “361user”) or die(mysql_error());
\nmysql_select_db(“nababutt_test”) or die(mysql_error());<\/p>\n
\/\/ Get record from the “plants” table
\n$result = mysql_query(“SELECT * “.
\n “FROM plants “.
\n “WHERE plants.id = ‘6’ “)
\n or die(mysql_error());
\n$row = mysql_fetch_array($result);<\/p>\n
echo ‘<\/p>\n
‘;
\n echo ‘<\/p>\n
‘;<\/p>\n
echo ‘<\/p>\n
‘;<\/p>\n
echo ‘General Information<\/a> echo ‘<\/a>General Information<\/span>‘; echo ‘ echo ‘<\/p>\n ‘;<\/p>\n echo ‘Importance as a butterfly nectar source:<\/span>‘;<\/p>\n echo ‘ echo $row[‘butt_nectar_source’];<\/p>\n echo ‘<\/p>\n ‘;<\/p>\n echo ‘Importance as a caterpillar food source:<\/span>‘;<\/p>\n echo ‘ echo $row[‘cat_food_source’];<\/p>\n echo ‘<\/p>\n <\/p>\n ‘;<\/p>\n echo ‘<\/a>Cultural Requirements<\/span>‘;<\/p>\n echo ‘ echo ‘<\/p>\n
<\/span>‘;
\n echo ‘Cultural Requirements<\/a>
<\/span>‘;
\n echo ‘Native Range<\/a>
<\/span>‘;
\n echo ‘Plant Rating<\/a>
<\/span>‘;
\n echo ‘Plant Reviews<\/a>
<\/span>‘;
\necho ‘
‘;<\/p>\n
\n echo ‘‘;
\n echo ‘
‘;<\/p>\n<\/a>
\n echo $row[‘introduction’];<\/p>\n
‘;<\/p>\n
‘;<\/p>\n‘;<\/p>\n