Search found 2 matches

by lefnire
Tue Jun 03, 2008 6:43 pm
Forum: PHP - Code
Topic: setting headers & printing content issue
Replies: 2
Views: 118

Re: setting headers & printing content issue

well i tried that, writing to a file then doing readfile(); but that didn't make a difference. should it make a difference?
by lefnire
Tue Jun 03, 2008 3:14 pm
Forum: PHP - Code
Topic: setting headers & printing content issue
Replies: 2
Views: 118

setting headers & printing content issue

i have a php page with a button that exports a mysql table to csv. the problem is that the actual html page is printed to that csv file right before the mysql content. in otherwords, my csv output looks something like this: <html><body>bla bla bla</html></body> col1, col2 cell1, cell2, cell3, cell4 ...