Vidya_tr Posted April 6, 2009 Share Posted April 6, 2009 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... Link to comment https://forums.phpfreaks.com/topic/152741-help-in-creating-table-rows-dynamically-on-a-page/ Share on other sites More sharing options...
MasterACE14 Posted April 6, 2009 Share Posted April 6, 2009 look into PHP and AJAX. Regards, ACE Link to comment https://forums.phpfreaks.com/topic/152741-help-in-creating-table-rows-dynamically-on-a-page/#findComment-802079 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.