ayah::next( surah, ayah )

Gets the next surah & ayah number from given surah & ayah number

ayah::next( surah, ayah )

Surah number need to be added here

Ayah number need to be added here

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


Example: next surah & ayah number

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

echo('Next Surah & Ayah for  1:7 is '.ayah::next(1, 7)->surah.':'.ayah::next(1, 7)->ayah);



blog comments powered by Disqus