August 7th, 2003, 12:42 PM
I have found a PHP code where it will express whether it is night or day based off of location and sunrise and sunset. I would like to incorporate it into my existing day/night mode in my form. But being it is entirely done in Java Script, I am finding it too hard to incorporate the PHP in.
August 7th, 2003, 12:49 PM
August 7th, 2003, 02:42 PM
I understand that and gave it a try but it is not working right.
I would rather have it all work client side, that is why I am wanting to build a script in JS to work similar to the PHP day/night mode.
I have done an extensive search for this type of day/night code and it only is scripted in PHP. There is no Java Script code anywhere that does the same thing.
That is why I was looking for help in converting the whole PHP code into JS so it could be easier to work into the existing form I created in JS and it operate all client side.