开发者

Is there a way to generate database by writing PHP?

Is there a way to generate SQLite3 database by writing PHP with no SQL?

开发者_开发技巧

Somewhat like django's models.


If you don't want to write SQL, a possibility is to use an abstraction layer, like the Doctrine ORM.

It will allow to manipulate objects, on the PHP side -- and will deal with the database-related stuff (including compatibility between several types of SQL databases).


No, to create a database, you're going to need to use SQL at some point unless you're using a Database Manager. If you're using PHP, you can use the built in libraries for accessing databases, found here: http://php.net/manual/en/book.sqlite.php


You can create database using PHP built in libraries. Provided your hosting server allows.....

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜