tehyev 0 Report post Posted October 24, 2006 So a few days ago, I made a calculator for this one game I play that calculates your enemies defense. So I embedded it in an html file, but a lot of people were having problems. So I was wondering: how would I convert the spreadsheet to PHP, Javascript, or ASP?Thanks! Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 24, 2006 Have excell export the data as a CSV (comma seperated values ) file and then use the php function fgetcsv() to read the file after an fopen, etc.http://ca.php.net/manual/en/function.fgetcsv.php explains more details. Share this post Link to post Share on other sites
tehyev 0 Report post Posted October 24, 2006 Have excell export the data as a CSV (comma seperated values ) file and then use the php function fgetcsv() to read the file after an fopen, etc. http://ca.php.net/manual/en/function.fgetcsv.php explains more details. When I save it as a CSV, it doesnt calculate =/ Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted October 24, 2006 Nope, you need to then manipulate the data using ASP or PHP according to the formula you require. Reading the data in to an html file will only print it. Share this post Link to post Share on other sites
tehyev 0 Report post Posted October 24, 2006 Nope, you need to then manipulate the data using ASP or PHP according to the formula you require. Reading the data in to an html file will only print it.And how would I do that? Are there any tutorials? Share this post Link to post Share on other sites
BuffaloHelp 24 Report post Posted October 24, 2006 What about exporting Excel as HTML file?Recent version of Excel will have your work as HTML during SAVE AS option. Will this work for you?If not, Google offers Spreadsheet that people can view by your choosing. Share this post Link to post Share on other sites