![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| Hi, I need to modify src attributes of all <img> tags in a $string (eg. <img src="test.gif"> to <img src="1.gif">). Does anyone has any idea? Thanks. | |||
| | #2 | ||
| On 22-Aug-2003, "Milan" <milan@websolutions.co.yu> wrote: > I need to modify src attributes of all <img> tags in a $string (eg. <img > src="test.gif"> to <img src="1.gif">). > > Does anyone has any idea? $string = str_replace('"test.gif"','"1.gif"',$string); http://www.php.net/manual/en/function.str-replace.php -- Tom Thackrey www.creative-light.com | |||
| Featured Websites | ||||
|
![]() |
| Tags: help, ltimggt, modify, tags |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Possible to have nested <div> tags! | Jukka K. Korpela | HTML | 6 | 07-01-2007 1:23 PM |
| Possible to have nested <div> tags! | Tim Radford | HTML | 0 | 07-01-2007 1:22 PM |
| Problems with ID3 tags | Jim Murray | Car audio | 4 | 06-17-2007 6:08 PM |
| Malicious HTML tags | Rich | Website Reviews And Website Questions | 0 | 05-28-2007 12:43 AM |
| Featured Websites | ||||
|