phpSensei Posted July 19, 2007 Share Posted July 19, 2007 I want two things replaced in a message posted by a user dont know how... I use this: $sad="sad"; $img="img"; $smilies = str_replace("", '<img src="files/smilies/happy.gif" width="18" height="24">', $row['message'] || $sad, $img, $row['message']); Quote Link to comment Share on other sites More sharing options...
simcoweb Posted July 20, 2007 Share Posted July 20, 2007 Have you tried it? Quote Link to comment Share on other sites More sharing options...
trq Posted July 20, 2007 Share Posted July 20, 2007 Is this correct? No. But you allready know that because it should be throwing errors. Why don't you actually ask the question you need answered? Quote Link to comment Share on other sites More sharing options...
phpSensei Posted July 20, 2007 Author Share Posted July 20, 2007 Please thorpe your magesty, how do you make it happen with your all mightyness.. Quote Link to comment Share on other sites More sharing options...
trq Posted July 20, 2007 Share Posted July 20, 2007 Added to my ignore list. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.