You are here: Re: wandering in dis- array « PHP SQL « IT news, forums, messages
Re: wandering in dis- array

Posted by Captain Paralytic on 11/06/06 16:07

strawberry wrote:
> strawberry wrote:
> > Captain Paralytic wrote:
> > > strawberry wrote:

> > > The reason for getting the first INSERT that has a field called "name"
> > > is that the original code will output an INSERT statement for every
> > > array element that is processed, since the echo is outside of the "if"
> > > statement that identifies a table "name" field.

> >
> > Thanks a lot for the pointer CP. I'll take a look at it right away.
>
> Yep, excellent. That seems to have sorted out that problem.
>
> function array_to_mysql($array) //define the function
> {
> static $table = null;
>
> etc, etc...
>
> 1 down, maybe 9 to go?
>
> Anyway, thanks again.

Surely nearly 2 down, when you look at (and fix) the the "if" statement
that I mentioned ;-)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация