Russell NF39
New Member
if i have two arrays i.e\[code\]$text = 'i am passed ';$fn = array('','',';')$rep = array('smily1','smily2','smily3' );$output = str_replace($fn, $rep, $text);echo $output;\[/code\]i want to make a class for this to use in future where i will want...how can i make a class for it...and also how can i create a function for this...