php-pdo-mysql-helper-class icon indicating copy to clipboard operation
php-pdo-mysql-helper-class copied to clipboard

pdo class for accessing mysql database

Results 6 php-pdo-mysql-helper-class issues
Sort by recently updated
recently updated
newest added

$db->begin_transaction(); try { $db->insert('members', $data_for_tbl_members); $last_member_id = $db->getLastInsertId(); $data_for_tbl_members_detail = array( 'member_id' => $last_member_id, 'code' => 'FBC-' . $last_member_id, 'email' => $memberEmail, 'phone' => $memberPhone, 'joining_date' => $memberJoining, 'photo' =>...

Hello I need to connect to multiple server hosts Any idea how to do this?

Fix for multi 'where' condition implode

Hi, great job... I have created new specific functions for my job. If you think be useful, merge it: ``` public function getValue($table, $col, $value, $col_returned) { $sqld = "SELECT...

hello closeCursor is helpful to free memory or not? i..e ``` public function fetch_single_row($table,$col,$val) { $nilai=array($val); $sel = $this->pdo->prepare("SELECT * FROM $table WHERE $col=? LIMIT 1"); $sel->execute($nilai); $sel->setFetchMode( PDO::FETCH_OBJ );...

hopes support transaction.