In Progress

3 php functions

I need 3 functions:

1. clearClassAndId($text) which will return text with class="" and id="" stripped from html tags eg. if we have text like "something something something <a class="aaa" id="bbb" href="/someloc">ble</a>" I want the function to return "something something something <a href="/someloc">ble</a>"

2. hideTags($text) which will return array('tags'=>array('num' => 'tag', ...), $text) where transformation in text would be replacing all html tags with {1}, {2} etc. and returning them in tag array, so later we can

3. showTags($text, $tags) which will return input text from 2nd function based on transformed text and tags array.

For sake of clarity function 1 should be case insensitive when matching id and class attributes.

All three functions should be delivered in file called text_functions.php

Skills: PHP

See more: php tags, aaa a, BLE, php text array, php tag, php html array, php return, stripped, html functions, date time comparison functions php, number comparison functions php, array function php, bidding website backend functions php, text transformation, user defined functions php radio buttons, googlemaps functions php, href php, functions, functions php, replacing html tags, input function php, php href, text orientation using functions php, class array, csv functions php

About the Employer:
( 4 reviews ) Szczecin, Poland

Project ID: #1280498

Awarded to:


Greetings this is an easy script, I have already created it so it will be delivered imemdiately after my bid selection. Kind Regards John

$4 USD / hour
(45 Reviews)

6 freelancers are bidding on average $6/hour for this job


Hi, let's get started, will deliver in 5 hours, thanks.

$8 USD / hour
(23 Reviews)

I can do this job in a short time. I have a lot of experience as you can see in my reviews. I'm ready to start now. Best regards.

$8 USD / hour
(126 Reviews)

Trywialna sprawa. Wicej info w PM.

$8 USD / hour
(46 Reviews)

Hey, should be able to do this rather quickly. Let's go ahead and get started. Thanks.

$5 USD / hour
(13 Reviews)

Hi Please check the PMB for details. I am ready work with you.

$4 USD / hour
(2 Reviews)

Please see PMB

$5 USD / hour
(3 Reviews)

please check your PMB

$8 USD / hour
(0 Reviews)

I have experience with this kind of php scripts. I'm ready and I would be glad to help you with this job.

$4 USD / hour
(0 Reviews)