Discussion: Using arrays
Afficher un message
Vieux 13/09/2007, 13h39   #5
phill.luckhurst@googlemail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using arrays

On 13 Sep, 12:53, Gremnebulin <peterdjo...@yahoo.com> wrote:
> On 13 Sep, 12:19, "phill.luckhu...@googlemail.com"
>
> <phill.luckhu...@googlemail.com> wrote:
> > [/code]

>
> > I'm struggling a little with the correct syntax here. The line with
> > $url[7] I would like to count with $i but I'm not sure how to put that
> > in.

>
> > $slideshow[ 'slide' ][ $i ] = array ( 'url' => $url[$i] );

>
> > Does not work. I'm sure it's simple and it's just a simple syntax
> > thing. I'll crack this php malarky one day.

>
> > Thanks for your

>
> The syntax is fine.


Thanks for all your it's now working. I needed $url[$i+1]


  Réponse avec citation
 
Page generated in 0,04392 seconds with 9 queries