質問スレから誘導されてきました

formから入力された文字列をmysqlに保存するサンプルスクリプトを教えてください

DB名:sample_db
テーブル名:sample_tbl
user名:sample
pass:pass