Re: [PHP] Explode, Arrays and Checkboxes

2004-09-08 Thread Curt Zirzow
* Thus wrote zareef ahmed: > HI, > > > > > I have two variables: > > > > $x = "2,10,34" > > $y = "28,15,16" > > > > I need to explode them both, so that the values of > > $x are they keys, and the values of $y are the > > values. Is that possible? > > yes see array_combine function > > http:

Re: [PHP] Explode, Arrays and Checkboxes

2004-09-08 Thread Curt Zirzow
* Thus wrote Matt Winslow: > I'm not new to PHP, but I have very little experience with arrays. I have comma > separated values in a database, that I need to pull out, explode into an array, then > check certain checkboxes if they exist. > > I have two variables: > > $x = "2,10,34" > $y = "28,

Re: [PHP] Explode, Arrays and Checkboxes

2004-09-08 Thread zareef ahmed
HI, --- Matt Winslow <[EMAIL PROTECTED]> wrote: > I'm not new to PHP, but I have very little > experience with arrays. I have comma separated > values in a database, that I need to pull out, > explode into an array, then check certain checkboxes > if they exist. > > I have two variables: > > $

[PHP] Explode, Arrays and Checkboxes

2004-09-08 Thread Matt Winslow
I'm not new to PHP, but I have very little experience with arrays. I have comma separated values in a database, that I need to pull out, explode into an array, then check certain checkboxes if they exist. I have two variables: $x = "2,10,34" $y = "28,15,16" I need to explode them both, so tha