'csv', 'password' => 'csvXQQp', 'database' => 'cmv', 'host' => 'localhost' ); try { $conn = mysql_connect($db['host'],$db['username'],$db['password']); if(!$conn) throw new Exception('Could not connect to database. Reason: ' . mysql_error()); $db_sel = mysql_select_db($db['database'], $conn); if(!$db_sel) throw new Exception('Could not select database. Reason: ' . mysql_error()); $res = mysql_query("SELECT package_blurb FROM packages", $conn); if(!$res) throw new Exception('No package Text Stored In Database'); $text = mysql_fetch_row($res); if(!$text) throw new Exception('No package Text Stored In Database'); } catch(Exception $e) { $errorMessage = $e->getMessage(); } ?>
|
|
Country Meadows Village 155 So. Evergreen Woodburn, Oregon 97071 866-219-9564 toll free 503-982-2221 503-982-2225 fax
|