18
This commit is contained in:
13
scratch_test_find.php
Normal file
13
scratch_test_find.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../core/bootstrap.php';
|
||||
require_once __DIR__ . '/../functions.php';
|
||||
|
||||
$con = Database::get('main');
|
||||
$lat = 32.11171;
|
||||
$lng = 36.06737;
|
||||
$carType = 'Fixed Price';
|
||||
|
||||
echo "Testing findBestDrivers...\n";
|
||||
$drivers = findBestDrivers($con, $lat, $lng, $carType);
|
||||
print_r($drivers);
|
||||
echo "Done.\n";
|
||||
Reference in New Issue
Block a user