Note COMMENTS AT BOTTOM OF PAGE... ALSO, NEEDED TO SEND THIS AS TEXT....COULD NOT SEND FILE... SECURITY PROBLEM?????? AT VERY TOP OF PAGE....... FURTHER DOWN..... list($lodging_manchesterareaRecords, ) = getRecords(array( 'tableName' => 'lodging_manchesterarea' )); list($lodging_weston_londonderryRecords, ) = getRecords(array( 'tableName' => 'lodging_weston_londonderry' )); list($lodging_chester_graftonRecords, ) = getRecords(array( 'tableName' => 'lodging_chester_grafton' )); list($lodging_brattleboro_newfaneRecords, ) = getRecords(array( 'tableName' => 'lodging_brattleboro_newfane' )); list($lodging_bellowsfalls_rockinghamRecords, ) = getRecords(array( 'tableName' => 'lodging_bellowsfalls_rockingham' )); list($lodging_bennington_arlingtonRecords, ) = getRecords(array( 'tableName' => 'lodging_bennington_arlington' )); // combine all records collected above into one big list $southernvermontRecords = array_merge( $lodging_manchesterareaRecords, $lodging_weston_londonderryRecords, $lodging_chester_graftonRecords, $lodging_brattleboro_newfaneRecords, $lodging_bellowsfalls_rockinghamRecords, $lodging_bennington_arlingtonRecords ); // shuffle our list so the records are displayed in a random order shuffle($southernvermontRecords); // limit to the first 10 records (remove the // on the next line to make this work) //$southernvermontRecords = array_slice($southernvermontRecords, 0, 10); ?>




COMMENTS....... >Your code read "lodging_manchester" This should have been "lodging_manchesterarea" ... I changed this wherever I could find it. Still no luck > I also changed "southernVermont" to "southernvermont" >ERROR MESSAGE APPEARING ONLINE..... SEE BOTTOM OF MESSAGE.... list($lodging_manchesterareaRecords, ) = getRecords(array( 'tableName' => 'lodging_manchesterarea' )); list($lodging_weston_londonderryRecords, ) = getRecords(array( 'tableName' => 'lodging_weston_londonderry' )); list($lodging_chester_graftonRecords, ) = getRecords(array( 'tableName' => 'lodging_chester_grafton' )); list($lodging_brattleboro_newfaneRecords, ) = getRecords(array( 'tableName' => 'lodging_brattleboro_newfane' )); list($lodging_bellowsfalls_rockinghamRecords, ) = getRecords(array( 'tableName' => 'lodging_bellowsfalls_rockingham' )); list($lodging_bennington_arlingtonRecords, ) = getRecords(array( 'tableName' => 'lodging_bennington_arlington' )); // combine all records collected above into one big list $southernvermontRecords = array_merge( $lodging_manchesterareaRecords, $lodging_weston_londonderryRecords, $lodging_chester_graftonRecords, $lodging_brattleboro_newfaneRecords, $lodging_bellowsfalls_rockinghamRecords, $lodging_bennington_arlingtonRecords ); // shuffle our list so the records are displayed in a random order shuffle($southernvermontRecords); // limit to the first 10 records (remove the // on the next line to make this work) //$southernvermontRecords = array_slice($southernvermontRecords, 0, 10); ?> Warning: Invalid argument supplied for foreach() in /netapp/whnas-swamp/s10/s10/01575/www.linkvermont.com/webdocs/lodging_southernvermont.php on line 228 HOPE THIS HELPS!!!!! Bob