Saving Javascript to database

Hello

Just a quick question.

Whats the best way to store javascript into a MySQL database using php?

Cheers