Simple html dom - how get dt/dd elements to array?

JennBrewersGirl

New Member
HTML:\[code\] <div class="table"> <dl> <dt>ID:</dt> <dd>632991</dd> <dt>Type:</dt> <dd>NEW</dd> <dt>Body Type:</dt> <dd>Compact</dd> </dl> </div>\[/code\]What's is the best way to get this using simple_html_dom in PHP:PHP:\[code\]$option = array( 'id' => 632991, 'Type' => 'NEW', 'Body Type' => 'Compact' );\[/code\]
 
Back
Top