title: Copy stored procedure from one db to another in php
body: <p>I need to make a php script that can copy stored procedure and function from one database to another, how can i do this ?
  The database is mysql and there 2 database are not on the same server</p>