
Apr 21st, 2008, 20:43
|
 |
Nerdy Moderator
|
|
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Thanks: 2
Thanked 21 Times in 21 Posts
|
|
|
Re: split xml search into multiple pages?
This is your problem:
- PHP: Select all
$properties = array ( 'propertyid' => $propertyid, 'date' => $date, 'ref' => $ref, 'price' => $price, 'pricefreq' => $price_freq, 'type' => $type, 'town' => $town, 'provinceName' => $province, 'location' => $location_detail, 'beds' => $beds, 'baths' => $baths, 'pool' => $pool, 'description' => $description, 'images' => $images,
It's just rewriting the $properties variable each time. You want something like this:
- PHP: Select all
$properties[$cur_prop] = array ( 'propertyid' => $propertyid, 'date' => $date, 'ref' => $ref, 'price' => $price, 'pricefreq' => $price_freq, 'type' => $type, 'town' => $town, 'provinceName' => $province, 'location' => $location_detail, 'beds' => $beds, 'baths' => $baths, 'pool' => $pool, 'description' => $description, 'images' => $images);
$cur_prop++;
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>"I think it's wrong that only one company makes the game Monopoly " - <name>Steven Wright </name></quote>
|