You are here: Re: Help needed with DB_DataObject « PHP Programming Language « IT news, forums, messages
Re: Help needed with DB_DataObject

Posted by dawnerd on 08/10/06 06:37

hel wrote:
> Hi
>
> I have just adopted a PHP project and need some help understanding
> DB_DataObject. I've looked around on the web and can't find a simple
> explanation.
>
> Basically, my MySQL database has no tables. I have a createTable.php
> script which I believe is a standard script, it runs but tell me "NO
> TABLES". There is a function in the script called _createTableList()
> which is looking for tables not finding any (I don't really
> understand why there should be pre-existing tables when the script is
> supposed to be creating them...)
>
> I have .ini files which seem to describe the schema, and classes which
> correspond to the entries in the .ini file - but no SQL, and I do not
> understand how to get the schema into the database. I believe the
> environment is set up correctly for the script to find the .ini files.
>
> I hope that was clear, and I hope somebody here can advise me - I'm sure
> it's simple enough for somebody who knows what they're doing with
> DB_DataObject!
>
> Using PHP5 btw, if that matters.
> Thanks,
> Helen

>From what I can see, your _createTableList() function doesn't appear to
create any database query...

http://pear.php.net/manual/en/package.database.db-dataobject.intro-autobuilding.php

That might help you a bit.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация