>>400
http://jp.php.net/manual/ja/ref.mysql.php
の例で分かりませんか?