Help reqiured to Convert Javascript to php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jibran
Forum Newbie
Posts: 1
Joined: Fri Aug 08, 2008 5:31 am

Help reqiured to Convert Javascript to php

Post by jibran »

Dear Friends,

I need help to convert javascript to php for calculating prayer time.
I have tried but php code not returns timing like javascript
please some body help me Javascript code is given below:

please see zip file for Javascipt
Attachments
pray----time.zip
Prayer time Javascript sample file
(5.4 KiB) Downloaded 68 times
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Help reqiured to Convert Javascript to php

Post by jayshields »

I doubt many people are going to download your file. You would be better off posting your code, or if it's too large, posting sections that you need the help with most.

Typically, changing Javascript to PHP isn't a common topic, but if you are just calculating something then it shouldn't be very difficult at all to translate the syntax, as it's very similar.
Post Reply