Jump to content

Help in creating table rows dynamically on a page


Vidya_tr

Recommended Posts

I want to wrte a code in php to dynamically generate table rows on a page.

Initially there should not be any rows.Then an action is taken to create rows dynamically.

some data such as a filename are retrived from database and displayed on the rows of the table as a hyperlink whose path points to the file.

 

I tried using javascript and php.But ,have some problem.

I get the data from the database using php script ,but want to pass it to a javascript function and the function is called on a button click to add rows and display the data.can I do this??? Each time I retrive the filename from the database, a row should be created dynamically and the data should be displayed..

Please help me in doing this... :(

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.