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

Calculating a rating by adding number of points and dividing by number of items
I have a site that users can post links to files to download. They can rate these files on a 1-5 sca

help with image text
Hi ...

see i need the text of the name and number to start in the center and always be in the

Thread in PHP
Thread in PHP
Some basic use and basic code for thread in php
This is my question?

SMTP server...
I recently found a tutorial online on SMTP authentification for sending emails from webpages, here i

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

If a record matches an existing record do nothing
So I don't know if I should put this here or in mysql, but what my script is for is for people to ad

i have no idea why this isn't working
Code: <?php
session_start();
include("connect.php");

error_reporting(E

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

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