Re: implode()
| From: | Jason Wong | Date: | Tue, 26 Nov 2002 19:03:25 +0000 |
| Subject: | Re: implode() | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126151@lists.php.net to get a copy of this message | ||
On Wednesday 27 November 2002 02:57, Jef wrote:
> The problem is I don't know which will be the last element in the string. I
> am allowing 9 images to be changed, 9 text labels to be changed, and 9
> links to be changed. I don't know which will be the last. I'm using an
> update sql command to change the database when these changes are being
> made.
Re-reading your original post I see what you mean.
> When I set the $sqlUpdate to be an array the printed result is ARRAY. When
> I print the sql command it reads "UPDATE mp SET ARRAY".
I think you mean "Array". Because $sqlUpdate is an array you can't simply
print it out (you'll just get 'Array' printed).
> What am I doing
> wrong?
You didn't use implode(), which after all is the subject of this thread ;-)
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
How many surrealists does it take to screw in a lightbulb?
One to hold the giraffe and one to fill the bathtub with brightly colored
power tools.
*/