Paypool
Examples with mysqli
Examples with PDO