Jump to content

stevegingercat

New Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by stevegingercat

  1. Beautiful! Thanks so much for that! It Works Cheers!
  2. Hi ya! I'm building a drop down menu to select "cats" categories it's working except that the "cats" that have / contain multi words are printing out like this - <select name="site_search"> <option value="Pen" case="">Pen Case</option> <option value="news">news</option> <option value="List" of="" names="">List of names</option> <option value="Library">Library</option> </select> This is the mysql and php that I'm using to create the above $result = mysqli_query($conn,"select distinct cats from URLS order by cats desc"); $total = mysqli_num_rows($result); while ($myrow = mysqli_fetch_array($result)) { echo "<option value=".$myrow["cats"].">".$myrow["cats"]."</option>"; } echo "</select>"; Server Version mysql Ver 15.1 Distrib 10.3.34-MariaDB, for debian-linux-gnueabihf (armv8l) using readline 5.2 Any thoughts with regard the above? TIA Steve
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.