In Progress

Quick PHP code

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

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



name= "xxxxxx"

value = "233333"

earliervalue = "33333333"

status1 = "avail"


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:


Very easy, please check your PMB.

$15 USD / hour
(54 Reviews)

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


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

$20 USD / hour
(86 Reviews)

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

$16 USD / hour
(87 Reviews)

Ready to start now! plz check pmb.

$15 USD / hour
(32 Reviews)

Hi ! Let's solve it right now !!

$15 USD / hour
(45 Reviews)

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

$15 USD / hour
(21 Reviews)

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

$15 USD / hour
(0 Reviews)

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

$15 USD / hour
(0 Reviews)