|
Posted by Scot McConnaughay on 12/20/05 18:27
You could probably use the strrpos($string, "[www]") to get the position
of the "X" data. Then use the substr($string, $position_start,
$position_end) function to create your $www variable...
Let me know if that doesn't help.
also, check these pages out :)
http://us2.php.net/manual/en/function.substr.php
http://us2.php.net/manual/en/function.strrpos.php
Michael wrote:
> How can I get X (or another value) from this string
> "asdfsadf[www]X[/www]",
> basically i want to get what ever is in between the [www] tags and
> place them in a variable called $www , can anyone help?
>
[Back to original message]
|