ayah::fromJuz( juz )

Gets the surah & ayah number from a given juz number


ayah::fromJuz( juz )

Juz number need to be added here

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


Examples:

Example: Surah & Ayah number from a juz number

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

echo('Juz 30 starts with surah & ayah number '.ayah::fromJuz(30)->surah.':'.ayah::fromJuz(30)->ayah);


Demo:

Comments


blog comments powered by Disqus

.