Re: [PHP-DB] explode string variable

2003-03-08 Thread Paul Burney
on 3/8/03 10:40 AM, André Sannerholt at [EMAIL PROTECTED] appended the following bits to my mbox: > Does anybody know how to "stop" an "explosion" of a string: Let me explain: > I want the variable to be devided in only two other ones! If for example: > $variable="Willy-Brandt-Platz-5" > > I wan

[PHP-DB] explode string variable

2003-03-08 Thread André Sannerholt
Hi everyone! Does anybody know how to "stop" an "explosion" of a string: Let me explain: $variable_aray=explode('-', $variable); I want the variable to be devided in only two other ones! If for example: $variable="Willy-Brandt-Platz-5" I want to have an array that looks like this: $variable_a