User Profile
Collapse
-
i can get the export to work (thanks!) but is there a way to call it through a button click? it would be nice to be able to display the table first and allow the user the choice to export or not. -
-
exporting query results to Excel
Hello,
Im still very new to php and am having a problem.
I return a MySQL query to a form in my php page and I want to be able to export the form data to Excel when the users clicks a link (or a button).
I found some code and can apparently export the entire contents of a table in my database, but when i try to limit the export result using variables...i get nothing. I am hoping someone can point me in the right direction?... -
cool! thanks very much! i am new to php and was just trying different ways to get variables to display so i didn't really know the proper syntax.
Now that it works with text field - i tried to get it to work with with a textarea in the same way but failed...
why does this not work:
[PHP]<td><?php echo "<textarea name=Notes value='".$Notes ."' ROWS=3 COLS=35></textarea>";?></td>[/PHP]...Leave a comment:
-
My issue is that i can see that the notes a user enters in the first form textarea get stored correctly to the database. But that when I try to pull that notes field from the database to display in another form..it either is blank or shows only the first word of all the text in the database (depending on if I am trying to display using a textarea or just text.
My SQL query to get the data is:
[PHP]//Connect to mysql server...Leave a comment:
-
cant show textarea notes when pulling from MySQL db
Hello,
I have a form that allows a user to submit notes in a textarea.
[HTML]<td><textarea name="Notes" value="" ROWS=3 COLS=35></textarea></td>[/HTML]
The notes get sent to the MySQL database correctly when I check out the database entries.
I have another form on the same page that pulls the notes field (along with some others) to display in another...
No activity results to display
Show More
Leave a comment: