Display number of records in datafile
Code : (for display purposes, some lines wrap. The ↵ character indicates it. The character is not part of the code)
$path_to_db_script = $_SERVER['DOCUMENT_ROOT']↵ . "/" . "db/pjjtextbase.php"; require $path_to_db_script; $novels = ptb_connect ('novels.csv'); print_r (ptb_count ($novels));
Number of records in : novels.csv
60
⇪ Feb 17 2021 06:30:59