freshbee Posted March 14, 2009 Share Posted March 14, 2009 Dear Friends, Is there any modules avail in php, from where dynamically html elements can be created. For example, by calling a function with set of arguments will create a table. Thanks in advance... Link to comment https://forums.phpfreaks.com/topic/149355-templates/ Share on other sites More sharing options...
kittrellbj Posted March 14, 2009 Share Posted March 14, 2009 You can design a function to do this. function makeTable($arg1, $arg2) { echo "<TABLE WIDTH=" . $arg1 . " bgcolor=" . $arg2 . ">"; } Or whatever you want, really. Link to comment https://forums.phpfreaks.com/topic/149355-templates/#findComment-784430 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.