PHP and SQL driving me nuts! =P

  • #1
    I'm an idiot. I managed to get it all working XD!!!!! AAAAAARRRRRRRGHHHHHH! :P

    Sorry moderators, I keep doing this to you guys and I am really sorry!
  • #2
    Hope that password isn't crucial because everything is protected but not a good thing to post.

    You tell it to output multiple selectionboxes so that is not strange. If you want one selection box with all lastname do


    <form id="selection" action="task8.php" method="get">
    <select name = "$id">
    <?php while ($row = mysql_fetch_array($rs)) { ?>
    echo "<option value=\"</span>$row["customerID"]\">\n $row[lastName]\n</option>"
    } ?>
    </select>
    <?php } ?>
  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes