|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
HELP!!!
ok here's the deal. I have a client who need's to be able to pull information from a mysql database. I need to be able to put all the information into a .txt file for him to download, If you have any idea's please help. thanks
|
|
#2
|
|||
|
|||
|
RE: HELP!!!
Yeah..use the mysql functions built into php. Open a text file with fopen() and then use fputs() to write to the text file. Then provide a link for the client to click and download the text file.
|
|
#3
|
|||
|
|||
|
RE: HELP!!!
You can even use the header() function to let him generate a text file on the fly without having to save it on your server:
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > HELP!!! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|