User Profile

Collapse

Profile Sidebar

Collapse
alf8kitty
alf8kitty
Last Activity: Mar 27 '08, 10:22 PM
Joined: Feb 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • alf8kitty
    replied to exporting query results to Excel
    in PHP
    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.
    See more | Go to post

    Leave a comment:


  • alf8kitty
    replied to exporting query results to Excel
    in PHP
    cool thanks! ill try em out.
    See more | Go to post

    Leave a comment:


  • alf8kitty
    started a topic exporting query results to Excel
    in PHP

    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?...
    See more | Go to post

  • 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]...
    See more | Go to post

    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...
    See more | Go to post

    Leave a comment:


  • alf8kitty
    started a topic cant show textarea notes when pulling from MySQL db
    in PHP

    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...
    See more | Go to post
No activity results to display
Show More
Working...