开发者

Using the Codeigniter DB_forge Class as a standalone

I'd like to use the following class from codeigniter: DB_forge.php (or any other class that can create and edit tables)

Now, I know just including the class in my procedural php script won't work开发者_开发问答, as this class uses CI's database class. Can someone walk me through what I have to do in order to be able to use this class.

Thanks!


I haven't used this, but it looks like someone crafted a standalone version of CI's ActiveRecord + DBforge based on the 1.7.1 version:

http://www.documentopia.com/downloads/

I don't necessarily endorse this, but it might be worth a shot - I could not find anything else, and I thought I saw this question here before but I cannot find that either.

Depending on your needs, you may be able to just use a stripped down CI installation.

There are a lot of suggestions here that may help as well:

Useful PHP database class

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜