@no: "Having some trouble creating an array of array-refs. (I think thats what its 
called)
Below is the script that i am writing, followed by the output. So far this 
is fine.
But what I would like to be able to do is specifically call up a string like 
so
$filedef[1]['host']    - just dont know the syntax im looking for...
so in the script i change change "echo "File Definition $i: -> $item\n";" to
echo "File Definition $i: Backup host = $item[$i]['host'] \n";
hope that clearly describes what im trying to do
#!/usr/bin/php -q
<?
$filedef[0] = array('file' => '.cshrc', 'filedir' => '/home/user1', 'host' 
=> 'backhost1', 'backdir' => '/tmp');
$filedef[1] = array('file' => '.profile', 'filedir' => '/home/user2, 'host' 
=> 'backhost2', 'backdir' => '/somewhere');
for ($i=0;$i<count($filedef);$i++){
        foreach ($filedef[$i] as $item) {
                echo "File Definition $i: -> $item\n";
        }
        echo "\n";
}
?>
-
File Definition 0: -> .cshrc
File Definition 0: -> /home/user1
File Definition 0: -> backhost1
File Definition 0: -> /tmp
File Definition 1: -> .profile
File Definition 1: -> /home/user2
File Definition 1: -> backhost2
File Definition 1: -> /somewhere"
    @hilarion: "<quote>
echo "File Definition $i: Backup host = " . $item[$i]['host'] . " \n";
for ($i=0;$i<count($filedef);$i++)
{
  foreach ($filedef[$i] as $item)
  {
    echo 'File Definition ' . $i . ': -> ' . $item['host'] . "\n";
  }
  echo "\n";
}
Hilarion"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "alt.comp.lang.php.20140621.mbox"}', 'file': 'data/output/usenet-alt.comp.parquet'}