update status from active to inactive using codeigniter
<p>Hi when i want to update my status using a button from inactive to active through ajax method so i have written some code i dont know wether it is right or wrong but status is not updating </p>