Greetings.

I've made the following script, wich shows every record of a dbf file:

<?php
$dbf = dbase_open('TEST.DBF',0); 
$quant = dbase_numrecords ($dbf);
        
        for ($x = 1; $x < $quant; $x++)
        {
        $drec = dbase_get_record_with_names($dbf,$x);
        foreach ($drec as $nome)
                {
                echo "$nome<br>";
                }
        }

echo "Done. $quant records."
?>

But I'm trying (unsucessfully) to show only one or two fields of each
records..

Anyone can help me with this?

Thanks in advance,




     Er Galvão Abbott
[EMAIL PROTECTED]
---------------------------------
Feel free to reply me by e-mail.
Just remove the CAPITAL TEXT from
the address above.
---------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to