Re: [Jason] Pull down (multi value) - Get options from database
Hi Rusty,
You're close. You need to have a tab character at the beginning and end of the string as well:
mysql_query("INSERT INTO `{$TABLE_PREFIX}accounts` SET
state = '".mysql_escape("\tOhio\tPennsylvania\t")."',
Hope this helps
I was sooo close. I was just thinking to myself, huh, wonder if I need to wrap tabs around the entire bit, like a container.
[]bWorks like a charm!, I had been able to play around with it to the point where I could get multiple options selected, but not the proper values, my values had 'around' them, extra single quotes from me doing silly stuff like ("'Ohio'/t'Pennsylvania'") and so on.
Just further proof I need to keep plowing ahead full steam in my PHP studies. I love this stuff, it's so flexible! and powerful.
If I'm ever up in the other Vancouver, I definitely owe you guys a round of the ale/beverage of choice.
Thanks again for world class support.!
Rusty