[PHP] Re: Generating an Excel file?

2004-01-19 Thread Manuel Lemos
Hello, On 01/19/2004 09:40 PM, Ben Ramsey wrote: I'm pretty sure I know how to use header() create a CSV file for a client to download data from a database, but I think it would really impress this client if I could generate a Microsoft Excel file instead of a CSV file. Anyone know how to do

Re: [PHP] Using PHP with Style Sheets

2004-01-19 Thread Justin French
On Tuesday, January 20, 2004, at 04:08 AM, John Nichel wrote: Freedomware wrote: OK, it looks like there are at least three ways to do this. I now have an original style sheet with a .css extension and copies with .php and .css.php extensions. All three style sheets have the following code at

[PHP] Re: Can this head section, which loads many style sheets, be improved or simplified?

2004-01-19 Thread Luke
Well you could use elseif statements so you only have to set one true instead of X amount false eg if($includenorth){ //Do North Include }elseif($includesw){ //Do Southwest Here } the only thing is with that way, only one well get done, not all, but it depends on what you want, that may

[PHP] Re: Generating an Excel file?

2004-01-19 Thread Ben Ramsey
Alright. You've all given some great suggestions, and I'm going to track them down. But, for now, I'm settling for creating a CSV file. My next question: How do I get the file to download without the .php extension on the end? It's downloading it as filename.csv.php. The code to right my

Re: [PHP] Re: Generating an Excel file?

2004-01-19 Thread daniel
Alright. You've all given some great suggestions, and I'm going to track them down. But, for now, I'm settling for creating a CSV file. My next question: How do I get the file to download without the .php extension on the end? It's downloading it as filename.csv.php. The code to right

[PHP] connecting PHP to MS Access

2004-01-19 Thread Tim Thorburn
Hi, Ok, I know I've already spoken blasphemy ... but hear me out. I have a client who wants to move her real estate site from a local ISP to a somewhat decent service. Currently her site is all in Access/ASP - since I know not of that world, I'm converting it to MySQL/PHP. The person they

Re: [PHP] Re: Generating an Excel file?

2004-01-19 Thread Ben Ramsey
Adding any of those headers still does not remove the .php from the end of the file when I am prompted for the download. I have a client that will be downloading this file, and I do not wish to instruct them to first remove the .php extension before they can view it. -Ben [EMAIL PROTECTED]

Re: [PHP] Re: Generating an Excel file?

2004-01-19 Thread John W. Holmes
Ben Ramsey wrote: Adding any of those headers still does not remove the .php from the end of the file when I am prompted for the download. I have a client that will be downloading this file, and I do not wish to instruct them to first remove the .php extension before they can view it. Are you

RE: [PHP] Re: Generating an Excel file?

2004-01-19 Thread Williams, Olwen - SAL
Name it for example something.csv The in your .htaccess file put Files something.csv ForceType application/x-httpd-php /Files Olwen Williams [EMAIL PROTECTED] -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 4:43 PM To: Ben Ramsey Cc:

Re: [PHP] connecting PHP to MS Access

2004-01-19 Thread Joey Manley
There are far more elegant ways to do it. But for such a small file, the looping-through-and-writing-sql-inserts-one-at-a-time should work just fine. As long as you don't have to do it more than once, and the file is so small, that's what I'd do. I've done it that way before. An even uglier

Re: [PHP] connecting PHP to MS Access

2004-01-19 Thread Tom Rogers
Hi, Tuesday, January 20, 2004, 1:24:46 PM, you wrote: TT Hi, TT Ok, I know I've already spoken blasphemy ... but hear me out. I have a TT client who wants to move her real estate site from a local ISP to a TT somewhat decent service. Currently her site is all in Access/ASP - since I TT know not

<    1   2