I want to make css manager for my site like wordpress's css manager. I want to open css file in textarea so I can edit it than after pressing submit button, changes in css file should be saved. Please help me. Sorry for my bad english.
what i suggest you do is not store your CSS in a file, but a database.
That means you could use a wysiwyg to edit it and will update on saving.