Marker list selection in select

New home Forums Gold Add-on Marker list selection in select

  • This topic has 2 replies, 2 voices, and was last updated 2 weeks ago by Steven.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #73345
    Andream
    Participant

    Hi, i customized the direction-box.html.php file by inserting a select with the marker list but the problem is that I display all the markers of all the maps and I would have to filter by map_id

    Here is my code:

    global $ wpdb;
    $ result = $ wpdb-> get_results (“SELECT * FROM porwph_wpgmza WHERE map_id ORDER BY Title”);

    <? php foreach ($ result as $ print) {?>
    <option value = “<? php echo $ print-> address;?>”> <? php echo $ print-> title; ?> </option>
    <? php}?>

    Thanks
    Andrea

    #73361
    Andream
    Participant

    Hi, i solved but thanks anyway.

    Andrea

    #73569
    Steven
    Moderator

    Hi Andrea,

    Thank you so much for getting in touch and our sincerest apologies for missing this.

    I am glad to hear you managed to solve this at your end.

    Do have a great week ahead.

    Kindest Regards,
    Steven De Beer

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.