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: my code, code that, code get, val , output php, sort contents, php output, php project output, code variable, php sort, php quick, quick php project, ini file, quick sort php, variable php, php sort file contents, php ini file, hard php, file hard code php, field variable php, php ini, output file php, code file sort, value php project, variable php file

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,sir.please 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)