Small tweak to current PHP script - multiple variable displays
$30-100 USD
Closed
Posted almost 17 years ago
$30-100 USD
Paid on delivery
I need one last change to a .php script.
This isn't a big project by any means. But "aces in their places"... what would take me several hours to figure out, would likely take you 20 minutes.
Your Qualifications:
================
- Very familiar with and comfortable with PHP code (especially since you'd be looking through the current .php script in order to quickly find where the mistake is and make this final revision)
What I Need:
================
In short, I need one of the values that the script calculates to be displayed multiple times on the same webpage. Currently, it only allows one instance of it to be displayed.
For example, if the value is the number of hours of sunshine in a day, then throughout the webpage I’d like to have a Variable Field where this number can be displayed .. but I want to use the variable field multiple times on the page (currently it displays just once).
Ie: July 14th, 2007 – Vancouver, BC saw ______ hours of sunshine. Being a city of a lot of patios, this also meant Vancouverites had at least ______ hours of great patio weather.
The above is a bit of gibberish content but you get the point. Basically, I need the variable to be displayed multiple times through the content. With the current setup of my script, it only displays once.
Currently, if I add this <span id="Weather"></span> variable to multiple parts of the webpage (through-out the content), the actual value only gets displayed at the first instance.
If you think you have a fix for this, please get in touch (bid on the project). I expect I’ll receive a lot of replies as this is relatively simple for those who know PHP, so if you could summarize why you think you know what the problem is (or what your previous experience is in coding similar functions in scripts), I’d appreciate it.