[PHP-WIN] Re: stuck with substr now .......

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> and for this i need to splitt the title retrieved from db to two
> strings ......
>


$array = explode( "/r/n", $stringToSplit );
print $array[0]; //first part
print $array[1]; //second part

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux