Well what I suggest is looking at the split function. You can easily get the data out of the file, then use the split command on the "=", everything before the = is your filed name and after is the data
thus NAS-IP-Address = 164.100.167.3
can become
$array[0] = "NAS-IP-Address";
$array[1] = 164.100.167.3
then can dynamicly build the Sql query
$sql = "insert into table ("
$rest = ") values ("
while not at end of file, or record do {
$sql .= $array[0];
$rest .= $array[1];
}
This should get you started...
PHPdev