Added a Category-Add Functionality

You can see that on the right hand side of the page there is a column called “Category”.Yes,this is where all the categories are listed.
The tricky thing is that when you double-click the column title “Category” ,an input textbox will appear and allows you to type in your desired new category name and when you blur out of the textbox,the new category will be added to the database altomatically,and then displayed.
Of course to do this, you are required to be logged in as Admin otherwise the new category will not be added..(lol)

Leave a Reply

Your email address will not be published. Required fields are marked *