MalcolmW
01-23-2012, 06:49 PM
Please:
(1) I'm trying to use some PHP code that I've copied from the internet that is a "black box" to me.
(2) The code gets good reviews from people who have used it successfully. But I don't understand PHP well enough to know why it won't work for me.
(3) Could anyone help, please?
(4) I'm trying to use it in an HTML page to write MYSQL table data to an Excel file using PHP.
(5) The part that is apparently failing for me is this:
include_once("excelwriter.class.php");
(6) I get this kind of error:
Warning: include_once(excelwriter.class.php) [function.include-once]: failed to open stream: No such file or directory in D:\xxxxx on line 148
(7) Could someone step me through what's necessary to resolve this?
(8) Apparently I need to create a class of some kind in some directory on my webserver -- and I have no clue how to do that.
(9) I'm entirely unfamiliar with "classes" and so need real "php for dummies" kind of help to do this --step by step . . .
Thanks, Malcolm.
(1) I'm trying to use some PHP code that I've copied from the internet that is a "black box" to me.
(2) The code gets good reviews from people who have used it successfully. But I don't understand PHP well enough to know why it won't work for me.
(3) Could anyone help, please?
(4) I'm trying to use it in an HTML page to write MYSQL table data to an Excel file using PHP.
(5) The part that is apparently failing for me is this:
include_once("excelwriter.class.php");
(6) I get this kind of error:
Warning: include_once(excelwriter.class.php) [function.include-once]: failed to open stream: No such file or directory in D:\xxxxx on line 148
(7) Could someone step me through what's necessary to resolve this?
(8) Apparently I need to create a class of some kind in some directory on my webserver -- and I have no clue how to do that.
(9) I'm entirely unfamiliar with "classes" and so need real "php for dummies" kind of help to do this --step by step . . .
Thanks, Malcolm.