kunjara / jyotish

PHP library for calculations in Vedic astrology
http://jyotish.su
179 stars 120 forks source link

[SOLUTION] How to get Rashi in each Bhav (House) #29

Closed nitinmukesh closed 2 years ago

nitinmukesh commented 2 years ago

Use the following code in index.php.

echo '<pre>'; print_r($Analysis -> getRashiInBhava('D1')); echo '</pre>';

OUTPUT

Array ( [2] => 1 [3] => 2 [4] => 3 [5] => 4 [6] => 5 [7] => 6 [8] => 7 [9] => 8 [10] => 9 [11] => 10 [12] => 11 [1] => 12 )

NOTE: Rashi is first and then house number