Forum Moderators: coopster

Message Too Old, No Replies

Quickest method to SELECT and INSERT with OOPS?

         

HoboTraveler

6:01 pm on Jun 19, 2007 (gmt 0)

10+ Year Member



Hi All,

When selecting and inserting data into a MySQL dB, I have to create the select and insert PHP scripts that are unique to the table.

I think it is possible to create a generic select and insert PHP script that would work with any table correct? This generic script could be coded in an object model (OOPS) with classes and functions?

Has anyone found a solution to this?

TIA

mattclayb

8:30 pm on Jun 19, 2007 (gmt 0)

10+ Year Member



Can you give an example of what you are trying to achieve?

- Are you talking about a dynamic SQL function in PHP to SELECT or INSERT data into different tables?

- are you using MySQL?

camilord

5:55 pm on Jun 21, 2007 (gmt 0)

10+ Year Member



as all i know, there's adoDB to solve your problem... :)