Getting the pdb-id
-
Hi,
So I managed to build a nice page with pdb-data:
http://www.larmit.nl/caresse/index.php/dealers/The circles on the map are shown by using this code:
<a class="<?php echo $this->record->fields['dealer_type']->value ?>dealer" style="position:absolute; left:<?php echo $this->record->fields['x_coordinaat']->value ?>px; top:<?php echo $this->record->fields['y_coordinaat']->value ?>px; z-index:10;" href="http://www.larmit.nl/caresse/index.php/dealers/dealerpagina/?pdb=<?php echo $this->record->fields['id']->value ?>" ><b></b><span><?php echo $this->record->fields['city']->value ?></span></a>There’s only 1 thing not working, this:
href="http://www.larmit.nl/caresse/index.php/dealers/dealerpagina/?pdb=<?php echo $this->record->fields['id']->value ?>should result in something like this:
href="http://www.larmit.nl/caresse/index.php/dealers/dealerpagina/?pdb=23but gives me:
href="http://www.larmit.nl/caresse/index.php/dealers/dealerpagina/?pdb=How do I get the id?
Tnx in advance.
The topic ‘Getting the pdb-id’ is closed to new replies.