开发者

Write SQLite DB from PHP

开发者 https://www.devze.com 2023-02-17 22:51 出处:网络
i have a following scenario that i have a products, categories and subcategories in mysql i want to create the SQLite DB so what i do first I create the XML and and then parse the xml and create Datab

i have a following scenario that i have a products, categories and subcategories in mysql i want to create the SQLite DB so what i do first I create the XML and and then parse the xml and create Database its has problem i getting that i get too much error in xml because data are too complicated and special characters in the database so is it an开发者_如何转开发y possiblity to write direct SQLite DB or some SQL Script which runs in sqlite.. please tell me..

Thanks.


I recently discovered a great ORM layer called RedBean - http://redbeanphp.com/ You can attach it to all kinds of RDMS, even Sqlite.

I suggest it because it can create table structures on-the-fly, without writing CREATE TABLE...

0

精彩评论

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

关注公众号