quote:
Originally posted by Eljay
code:
$xml = simplexml_load_file('details.xml');
$Username = $xml->Username;
$PSM = $xml->PSM;
$Status = $xml->Status;
Hmm... it seems like that XML thing doesn't work too great. Let's see...
quote:
Originally posted by Mattike's PHP Info
PHP Version 4.4.2
Doooh...
quote:
Originally posted by -dt-
or use preg_match and use its matches variable to extract the results
Can you give me an example?
BTW, still didn't found a solution to strip the
·$(color) tags...
code:
$string = preg_replace("/·\$[0-9]{1,2}/", "", $string);
[OFFTOPIC]300th post! [/OFFTOPIC]