Reply to PHP Function ?

Your name:

Reply:


Posted by Fred Atkinson on 10/10/74 11:19

Is there a PHP function that returns the number of lines
(records) in a file?

Example: There is a file called data.dat when I have data to
use with a PHP script.

Is there a function that will count the number of lines in
data.dat and return to the browser screen only the number of lines
(records) in that data file.

Coding this into the PHP page:

There are currently <php function> records in the database.

would yield this on the browser:

There are currently 1054 records in the database.


Fred

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация