Thank you jpadie, I have added the code but still get a completely blank page in the browser. The full code is currently:
<?php
ini_set("display_errors", true);
error_reporting(E_ALL);
include_once '../../../2010/gotos/OShoppa.inc.php';
$filename = 'contacts';
$ext = ".txt"; // file extension...
Thank you jpadie, I used your code as is but added ?> at the end but it doesn't run so I am obviously way out of my depth here! What am I doing/not doing?
Thanks guys but I clearly have not got this right - the script doesn't run at all now. Can you tell me what I have got wrong?
My code:
<?php
include_once '../../../2010/gotos/OShoppa.inc.php';
$string = "$fieldnames[]";
$filename='contacts';
$ext = "txt"; // file extension
$mime_type =...
I use the following code to write a .csv file from my MySQL database and it works just fin when the db is on my local PC. When I upload everything to the live server I do not get a local copy.
How do I modify my code to get the .csv file created on the live server saved on local PC?
Thanking...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.