/    Sign up×
Community /Pin to ProfileBookmark

Trying to input data into a website and allow sorting by users…

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?

Thanks Chunky

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@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].
Copy linkTweet thisAlerts:
@TheChunksterauthorFeb 21.2006 — I appreciate the help, but I have no clue what you just said.
Copy linkTweet thisAlerts:
@welshFeb 21.2006 — file => save as => CSV (comma deliberated)

then use php to access the file and such.
Copy linkTweet thisAlerts:
@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
Copy linkTweet thisAlerts:
@NogDogFeb 21.2006 — Beginning PHP: http://www.zend.com/php/beginners/index.php

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]
Copy linkTweet thisAlerts:
@TheChunksterauthorFeb 21.2006 — Thank you very much...I'll look into it, and hit you up with any problems I have if you don't mind.
×

Success!

Help @TheChunkster spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...