Jump to content


Multiple Selections in List Menu w/ DW

  • Please log in to reply
No replies to this topic

#1 recset

  • Members
  • PipPip
  • Member
  • 29 posts

Posted 01 September 2006 - 05:11 AM

I am trying to store multiple selections from a List Menu into one db field, but I get an error msg everytime I try. Here is a snippet of code:

$theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue;
-- this line is where the error is and

<select name="NOTES[]" size="10" multiple="multiple" id="NOTES">
-- this is the line of my List menu

if (isset($_POST['NOTES'])) {
  foreach ($_POST['NOTES'] as $value) {
    echo "$value<br />\n";

-- This piece of code allows for the array

Can any one assist with this problem please?


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users