WXforum.net
Web Weather => Weather Website PHP/AJAX scripting => Topic started by: wunderbugwx on April 02, 2019, 02:24:08 PM
-
Is there any way to display the atom-top-warning for 2 different zones on the same web page? (Not on the the line)
I've been trying for over a week, I can only seem to get one zone to display.
I'm not very knowledgeable on writing code, but I'm good at learning by example or trial and error.
Can someone be kind enough to help me with this problem or steer me in the right direction.
Thank you.
-
I'd replied to your email message to me yesterday with:
The atom-top-warning.php script really allows only one instance (and zone) per PHP page include().
You can 'fake' it by doing something like
<?php readfile('http://your.website/atom-top-warning.php?zone=XXnNNN'); ?>
for the second instance if you like..
Best regards,
Ken
-
So sorry, I'd didn't receive that email. Thanks for responding on here, I'll give it a whirl.