ded Posted June 3, 2011 Share Posted June 3, 2011 I need to give a user the ability to put in some dates and have a report generate for them. The query and everything is already completed, but how do I put the results in a word or text document? David Quote Link to comment Share on other sites More sharing options...
fugix Posted June 3, 2011 Share Posted June 3, 2011 once you have the user data, you can use a combination of fopen() fwrite() and fclose() to write the input to a txt file Quote Link to comment Share on other sites More sharing options...
WebStyles Posted June 3, 2011 Share Posted June 3, 2011 see also file_put_contents(); Quote Link to comment Share on other sites More sharing options...
fugix Posted June 3, 2011 Share Posted June 3, 2011 see also file_put_contents(); thanks, file_put_contents() is the preferred method Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.