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 want to have an array that looks like this:
> $variable_array[0] should be "Willy"
> $variable_array[1] should be "Brandt-Platz"

Wrong list since doesn't involve databases.  Should be on PHP-General.  That
said, use strtok:

<http://www.php.net/manual/en/function.strtok.php>

Sincerely,

Paul Burney
<http://paulburney.com/>

<?php
    while ($self != "asleep") {
        $sheep_count++;
    }
?>



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to