ok so its obvious im a bit dumb when it comes to coding but can anyone set me straight. I have a problem that I need to update “amounts” from time to time and its annoying going through every page to find the amount to update it to the new amount. So I figured I would use the php function to solve my headache. This is what I have below:
The php below would be called amount.php etc
[php]
[/php]
But because i would need to make several calls on the same page for various bonuses… Would I use the
[php]<?php include "amount.php";echo "$amountone"; ?>[/php] for each bonus ?
Or is there a way of calling the “amount.php” once into the page and then just using:
Amount one is: [php]<?php echo "$amountone"; ?>[/php]
Amount two is: [php]<?php echo "$amounttwo"; ?>[/php]
etc