I have pay per click adds and I send people to a page
Right now I have it set up so people can type in the city they want to search
$get_pro_sql = "SELECT DATE_FORMAT(profile_update, '%b %e %Y at %r') aS fmt_profile_update, ID, username FROM DB where city='$city_menu_choice' ORDER BY update DESC";
$get_pro_res = mysqli_query($mysqli, $get_profiles_sql) or die(mysqli_error($mysqli));
I would like to make it so when someone clicks on an add and goes to this page, the members from "somecity" are posted.
Then if they want to search a different city they can type the name of the city in
<form method='post' action=<?php $_SERVER['PHP_SELF'] ?> >
<input type="text" name="city_choice" size="20" value=<?php $_POST['city_choice'] ?> >
<input type="submit" name="submit" id="submit"/>
Can you help me so I can do this either or situation?