iGuest 3 Report post Posted December 19, 2004 If we say i have a string: "<img src="http://forums.xisto.com/no_longer_exists/404.png" height="221" vspace="0" border="0" hspace="0" width="375">"in this string i want to change the height and width value. Can somebody tell me how to do. I'm not to god at php. Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 30, 2004 ...............................................................................................................juz change the values from 221 to desired height and 375 to desired width... :roll: Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 30, 2004 Also this aint PHP dude! This is plain HTML! Or do you mean how you change the width and hieght if the current dymensions are greater than a set width and height? Share this post Link to post Share on other sites
iGuest 3 Report post Posted December 31, 2004 yes excactly... Share this post Link to post Share on other sites