Re: Sqlbuilder from post variables
| From: | electroteque | Date: | Sat, 01 Jan 2005 00:25:03 +0000 |
| Subject: | Re: Sqlbuilder from post variables | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16548@lists.php.net to get a copy of this message | ||
Thanks i figured that i'll check it out, what is wierd is, I have sent a tonne of emails yesterday, but none made it into my inbox.
On 01/01/2005, at 8:59 AM, Justin Patrin wrote:
On Fri, 31 Dec 2004 14:54:09 +1100 (EST), daniel@electroteque.org <daniel@electroteque.org> wrote:Is there such a package that can be used to build sql from post variables ? I have built a function which will do inserting, updating and deleting from form variables, ie the form vars are the fieldnames, i can remove certain post vars to pre-format , ie date lists with day, month, year, can add extra sql functions etc ? I use it also for generating sql for reporting or searching. Let me know thanks.DB_DataObject is one of a few SQL builder packages in PEAR. (DB_Table is another. I think there are others.) There is also DB_DataObject_FormBuilder which creates HTML_QuickForm forms for updating and inserting records as well as supporting lots of customization. -- Justin Patrin