How to show error or success message in api.
For error :
'message' => 'Some error message.'
For success :
'message' => 'Some success message.'
"Programming isn't about what you know,
it's about what you can figure out.”
Fatal error: Cannot declare class Connection, because the name is already in use in /home/d8ouyzxnuef4/public_html/thecoderjob.com/cj_admin/classes/Connection.php on line 3