replacements


Posted on 16th Feb 2014 07:03 pm by admin

I have a variable in my PHP script like

ASSFDDDDDDDDDDDDDASDDDDDDDDARYTRHKKHHHHHHHHHHH and positions 5-10

I want to replace these positions with another color .

$newpat="<font color=blue>$pat</font>";

can someone tell me what function to use and how, I tried string_replace, but didn't work. I did not know hoe I could tell it to replace specific positions and multiple at a time.

No comments posted yet

Your Answer:

Login to answer
264 Like 15 Dislike
Previous forums Next forums
Other forums

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

How to add advertisment on top of videos
Hello,
I was told that i should find the answer for this problem in this forums.
I searched a

need help in update query
i create a form for update. there are 8 columns in my mysql table. on my main page all the data is r

Request.UrlReferrer
I need to make it so that a page can only be loaded when a button is clicked on a specific page. I d

Windows 7
Windows 7 default user account control worries experts. Corporate IT departments should be pleased w

I didnt code this but I need help with it
I'm sorry. i'm not a coder. I have this script for forcing download and previewing mp3. The guy that

getting weird error..
okay, I'm getting an error on this particular function, something about the syntax in the mysql LIMI

Logic question
im wondering what's the best method to do the above list:

it is for alliance @ MMORPG game

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash