I have this code:
echo " <form action='https://test.com/forum/index.php?/search/&q=".
$row['record_meta_keywords'] ."
&type=cms_records7&search_and_or=and&search_in=titles'> ";
echo " <select name='/search/&q=". $row['record_meta_keywords'] ."
&type=cms_records7&search_and_or=and&search_in=titles'> ";
while ($row = mysql_fetch_array($result)) {
echo "<option value='" . $row['record_meta_keywords'] ."'>" .
$row['record_meta_keywords'] ."</option>";
}
echo " </select> ";
echo " <br><br> ";
echo " <input type='submit'> ";
echo " </form> ";
?>
When I choose an option from the dropdown (in this case Garden City Lanes), it sends me to this URL which is incorrect:
I need it to send me to this correct URL:
My PHP skills are not that advanced so I’m not sure how to fix this issue. Can anyone please help?