Why not feed it with the state name on the url? Consider this as an example:
<?php
include 'simple_html_dom.php';
$state = 'alabama';
$main_url = 'http://www.50states.com/' . $state . '.htm';
$html = file_get_html($main_url);
$state_info = null;
$capital_city = '';
foreach($html->find('ul[class=bulletedList]') as $key => $value) {
$state_info = $value;
// Get particular value (traverse DOM)
// Sample: search for capital city
if(strpos($value->children(0)->children(0)->innertext, 'Capital City:')) {
$capital_city = $value->children(0)->children(0)->innertext;
}
}
echo $state_info;
echo $capital_city;
?>
For more in-depth information, you should check out the manual, its pretty well documented anyways.