I'm building a zend application.I was wondering if I can build mysql tables programmatically without using phpmyadmin.I would want to build them in the act of setting up my web application.If I'm not wrong you can do this in Symfony.
Thanks
Luca
I'm building a zend application.I was wondering if I can build mysql tables programmatically without using phpmyadmin.I would want to build them in the act of setting up my web application.If I'm not wrong you can do this in Symfony.
Thanks
Luca
Try
$dbAdapter->query('CREATE TABLE myTable ...');
That should work fine, I guess.
Why not put your schema creation SQL into a file and run it as part of the web app installation?