Baseball Freak
New member
I have an INI File and a PHP file.
INI File is set of like this (Made with random stuff):
[100]
name = "Bob"
I have this in PHP:
$Variable = trim(fgets(STDIN));
Say the person enter Bob. How can I get PHP to use the .ini file to get the ID (100) of that name?
(Code please? Not just an Explanatory.)
INI File is set of like this (Made with random stuff):
[100]
name = "Bob"
I have this in PHP:
$Variable = trim(fgets(STDIN));
Say the person enter Bob. How can I get PHP to use the .ini file to get the ID (100) of that name?
(Code please? Not just an Explanatory.)