ayah::prev( surah, ayah )

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

ayah::prev( surah, ayah )

Surah number need to be added here

Ayah number need to be added here

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


Example: previous surah & ayah number

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

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



blog comments powered by Disqus