The point of the object is to connect to a single database and store information retrieved from a database as members in the object. Members can also be accessed as an associative array. As an example we could retrieve data from table "stuff" by doing
$thing->new_records('stuff');
$thing->get_records("id","1");
echo $thing->id;
echo $thing["id"];
the output would simply be 11 from the above set of statements.
Follow PHP DB Object
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of PHP DB Object!