psFileKeyGetVal() Get a value from a simple Key/Val txt file
Description:
This will return the value from a text file
Usage:
psFileKeyGetVal($fName,$key,{$sepertor})
Example:
$id = "A60244"; psFileKeyGetVal("/tmp/somefile.txt",$id);
Code:
function psFileKeyGetVal($wFile,$key,$d="=") { $ary = psFileKeyVal($wFile,$d); return $ary[$key]; }
Changlelog:
|
|