From: "Richard Davey" <[EMAIL PROTECTED]>
> GJ> HTML tags.
> GJ> I can have something like
> GJ> <table>
> GJ>   first
> GJ>   <table>
> GJ>     second table
> GJ>   </table>
> GJ>   table
> GJ> </table>
>
> GJ> and i need to convert each <table></table> tags into something more
user
> GJ> friendly.
>
> Come again? Might be helpful to give an example of what you want to
> turn a nested table tag into. I mean, it's perfectly valid being
> nested the way it is.

Maybe

str_replace('<table>','[Hi HTML, this is the user. Could you please start a
table for me? Thanks.]',$html);

and

str_replace('</table>','[Hey HTML, me again. You know that table you
started? Can you end it, please? Thanks.]',$html);

Now tell me that isn't user friendly!

---John Holmes...

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

Reply via email to