A Simple PHP Method to Insert data to Database Using Arrays
Write once, run everywhere. A friend has been struggling with this and I’m here to help 😀 . It’s been long and I decided to stretch out and use the opportunity to update my blog 😛
This is simple – view on Git
USAGE:
$db = db::Instance(); echo $db->insert( 'testing', array( 'column1' => 2, 'column2' => 'James' ) );