Hi guys, i have a content in one of phpmyadmin field

screenshot
[IMG]http://i291.photobucket.com/albums/ll284/basketmen/phpmyadminfield.jpg[/IMG]

the content is like this, its have two lines :

text1
text2

usually its called from a php file, using a variable, like this

$xxx = explode("\r\n", $text);

now i want to put the content, directly in the php file. This is working, to only put one line

$xxx = explode("\r\n", "text1");

But how is the right way to write both line? please help guys, i already tried these but no one works

$xxx = explode("\r\n", "text1", "text2");
$xxx = explode("\r\n", "text1, text2");
$xxx = explode("\r\n", "text1");
$xxx = explode("\r\n", "text2");
$xxx = explode("\r\n", "text1" AND "text2");
$xxx = explode("\r\n", "text1" . "text2");
$xxx = explode("\r\n", $text);
foreach($xxx as $line) {
    echo $line;
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.