Here is may code in the BlogComments controller that adds the comments to the database.
i have the jsonResponse function that works well for me in making ajax requests. using the above code though, i have failed to post my comments to the database.
Please some one help me solve this. I wuld like to know how i can pass the request from another class object (blogsController) to the database.
I am doing this on a local machine. I have never made such requests. Someone help me on this please.