In Progress

Quick PHP code

I need a quick php code to sort an .ini file

contents in [url removed, login to view] file:

________________________________________

[home1]

name= "xxxxxx"

value = "233333"

earliervalue = "33333333"

status1 = "avail"

[home2]

name= "yyyyyy"

value = "33333333"

earliervalue = "9999999"

status1 = "avail "

.

.

.

.

.

many similar entries

__________________________________________

the variable "$val" gets a value via $_GET. For this project, lets assume $val is hard set to 33333333

On running the php code, the contents for $val are compared with the "value" field and the output should be the name associate to the value i.e name= "yyyyyy"

I did this code myself, mine is too lengthy and useless, and I get the results:

name= "yyyyyy"

name= "xxxxxx"

The reason name= "xxxxxx" is also showing up with my code is because the earliervalue = "33333333" for name= "xxxxxx" I need a quick code that only shows name= "yyyyyy" by comparing ONLY "value" and ignoring earliervalue.

Skills: PHP

See more: php code for, need a associate, my code, code that, code get, get code, val , php code, output php, sort contents, php output, php project output, quick sort, code variable, php sort, php quick, quick php project, ini file, php value php, quick sort php, variable php, php variable php file, php sort file contents, php ini file, php form output csv code

About the Employer:
( 0 reviews ) Erie, United States

Project ID: #1279859

Awarded to:

checkmater

Very easy, please check your PMB.

$15 USD / hour
(54 Reviews)
6.0

8 freelancers are bidding on average $16/hour for this job

rosew100

Hi I have php expertise. I can do this. please let me know.

$20 USD / hour
(86 Reviews)
6.7
k1ng440

Professional Web Developer is ready get started right now. More information in Private Message.

$16 USD / hour
(87 Reviews)
6.4
ProgPro117

Ready to start now! plz check pmb.

$15 USD / hour
(32 Reviews)
6.0
rakshit0

Hi ! Let's solve it right now !!

$15 USD / hour
(45 Reviews)
5.9
SSADeveloper

i can help you,[url removed, login to view] check your pmb!

$15 USD / hour
(21 Reviews)
5.0
kamachi2009

sir, Ready to solve it now. Check in PMB for more details.

$15 USD / hour
(0 Reviews)
0.0
MightyJong

Hello,sir. No problem. I can do this.

$15 USD / hour
(0 Reviews)
0.0