Okay then one last thing, if the original data that I posted is stored in variable of
$ushotels, would $value be replaced with $ushotels?
does this look right sir, sorry to sound so stupid:
for($i = 0; $i <= count($arrLst); $i++)
{
//Get the array out of each element.
foreach($arrLst['$i'] as $ushotels)
{
$line = $ushotels['id'] . "\t" . $ushotels['hotel_name'] . "\t" . $ushotels['street_address'] . "\t". $ushotels['street_address'] . "\t" .$ushotels['hotel_city'] . "\t" .$ushotels['hotel_state'] . "\t" . $ushotels['hotel_zip'] . "\t" . $ushotels['hotel_country'] . "\t" . $ushotels['hotel_number'] . "\t" .
$ushotels['hotel_fax'] . "\t" . $ushotels['hotel_fax'] . "\t" . $ushotels['hotel_rates'] . "\t" . $ushotels['hotel_cards'] . "\t" . $ushotels['hotel_checktime'] . "\t" . $ushotels['hotel_description'] . $ushotels['hotel_url'] . "\t"; //.... etc for all fields.
print_r($line);
exit; //save the line somewhere.
}
}