I’m wanting to input a data base of input, onto my website and then have my users able to Sort through this data. Basically an Excel File on my website…is this possible, and what would I need or what would I need to do to make this happen?
@NogDogFeb 21.2006 — #If you save the Excel file as a CSV file, then it's pretty easy to read/parse the data with PHP's [url=http://www.php.net/fgetcsv]fgetcsv() function[/url].
@TheChunksterauthorFeb 21.2006 — #I understand the save as part, just haven't messed with Php before....any tutorials on this out there, or any advice from you guys would be awesome
From the link I gave in my prior reply: Example 1. Read and print the entire contents of a CSV file [code=php] <?php $row = 1; $handle = fopen("test.csv", "r"); while (($data = fgetcsv($handle, 1000, ",")) !== FALSE) { $num = count($data); echo "<p> $num fields in line $row: <br /></p>n"; $row++; for ($c=0; $c < $num; $c++) { echo $data[$c] . "<br />n"; } } fclose($handle); ?> [/code] [/quote]