Im buidling a search form with alot of search options
i want to make a dynamic query for postgresql to assign priorities to the search submit. this what i came up with but this isnt right
maybe you guys have any adeas 😃
$result = pg_query("SELECT * FROM vanoord WHERE location='$location', time_from='$start', time_to='$stop', under_construction='$construct', info='$info'");
if (!$result) {
echo "An error occured.\n";
exit;
}