Search found 3 matches

by lmayer
Fri Feb 25, 2005 6:58 am
Forum: PHP - Code
Topic: [SOLVED] Word Array instead of the data is being inserted
Replies: 3
Views: 342

Got it!

exchange:$this->val[$this->i] = "\"$value\"";

for $this->val[$this->i] = "'" . (is_array($value) ? join(',',$value) : $value) . "'";

Works like a dream.

Laura
by lmayer
Thu Feb 24, 2005 9:41 am
Forum: PHP - Code
Topic: [SOLVED] Word Array instead of the data is being inserted
Replies: 3
Views: 342

Makes large amounts of sense. So create an if else statement...Thanks for pointing me in the right direction.

Laura
by lmayer
Thu Feb 24, 2005 6:44 am
Forum: PHP - Code
Topic: [SOLVED] Word Array instead of the data is being inserted
Replies: 3
Views: 342

[SOLVED] Word Array instead of the data is being inserted

Morning, I have this class to enter data from a form dynamically. Its works like a dream except for one little peice. I have about 5 multiple selects on my form. It keeps insert them as the word "Array" One of the fields is like this: <select name="CitrixApps&#1111;]" multipl...