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

Did you know?Explore Trending and Topic pages for more stories like this.
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

problem in program for counting no of chars using pointers
Hi all, I was trying to make a program which counts number of chars in a string using concpt of poin

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

php and downloading
I want to use a php script to create two files. Then I want it to redirect (or whatever) to have tho

Is there a way to override built in php functions without APD?
I am trying to use the
rename_function()
override_function()
options that are built into

This is driving me nuts!
This insert query looks to be alright, however I get this error:

QuoteYou have an error in yo

Session variable help
I'm having a very troubling issue. Maybe I'm just looking over something but I have looked at the co

Parse error: syntax error, unexpected T_ELSEIF in /home/......html/item.php on l
I do not know what is wrong with this. Hope some one can help. I do nto want to post the entire site

animation progress while uploading files?
Hello, i have some website form to upload few files to server. i want to put some gif animation whi

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

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