Got it!
exchange:$this->val[$this->i] = "\"$value\"";
for $this->val[$this->i] = "'" . (is_array($value) ? join(',',$value) : $value) . "'";
Works like a dream.
Laura
Search found 3 matches
- 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
- 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
- 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ї]" multipl...