ayah::fromPage( page )

Gets the surah & ayah number from a given page number


ayah::fromPage( page )

Page number need to be added here

Returns: object - example: {surah: 1, ayah: 2}


Examples:

Example: Surah & Ayah number from a page number

quran::init(); // initial start run - required

echo('Page 604 starts with surah & ayah number '.ayah::fromPage(604)->surah.':'.ayah::fromPage(604)->ayah);


Demo:

Comments


blog comments powered by Disqus

.