preg_match_all

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

 



Hi All,

Well i need a little help as allways.
Lets say that i have this output:
--------------------------------------
<br>field1: value1

<br>field2: value2

<br>somefield: somevalue

--------------------------------------
I want the value in between <br> and this ": " and the value between ":
" and \n
So that i could do whis:
print("$field1<br>");
print("$field2<br>");
print("$somefield");
Souch that this would give this output:
value1
value2
Somevalue

Thanks a lot........
Lars Rasmussen.



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux