1. Go to this page and download the library: Download williamheelis/sqldb library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Restful\SQLdb;
$db = new SQLdb();
$db->put($email,$dob);
$User = $db->queryrow("SELECT * FROM users WHERE email=? AND date_of_birth=? ORDER BY email LIMIT 0,1");
echo $User['lastName'] . "<br />"'
use Restful\SQLdb;
$db = new SQLdb();
$db->put($last_name);
$db->query("SELECT * FROM users WHERE lastName=?");
while ($tmp = $db->getnextrow()){
echo $tmp['email'] . "<br />";
}
use Restful\SQLdb;
$db = new SQLdb();
$db->put($id);
echo $db->quickquery("SELECT lastName FROM users WHERE id=?") . "<br />";
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.