Warning: Attempt to read property "id" on string in /home4/pfkrnzmy/public_html/add_profile.php on line 7
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND p.religion_id = r.religion_id
AND p.caste_id = c.caste_id
AN' at line 4 in /home4/pfkrnzmy/public_html/api/objects/profile.php:261
Stack trace:
#0 /home4/pfkrnzmy/public_html/api/objects/profile.php(261): mysqli_query(Object(mysqli), 'SELECT p.*, u.*...')
#1 /home4/pfkrnzmy/public_html/add_profile.php(9): Profile->get_data()
#2 /home4/pfkrnzmy/public_html/faq.php(24): include_once('/home4/pfkrnzmy...')
#3 {main}
thrown in /home4/pfkrnzmy/public_html/api/objects/profile.php on line 261