View Single Post
Old 06-27-2009, 07:14 PM   #1 (permalink)
tech
The Wanderer
 
Join Date: Jun 2009
Posts: 20
Thanks: 2
tech is on a distinguished road
Default how to appends the given tag to the contents of this tag

dear all..
I need a function to appends the given tag to the contents of this tag.in python we can write like that but php don't know..

def append(self, tag):
"""Appends the given tag to the contents of this tag."""
self.insert(len(self.contents), tag)

please change it into php.

thanks.
tech is offline  
Reply With Quote