<?php exec("mysqldump -t --insert-ignore -u bcslichfield -p walks > testdata.sql"); ?>
info at phpclasses dot org