timmah1 Posted July 26, 2008 Share Posted July 26, 2008 ... use this function? onLoad="javascript:attach_file('mysql_insert.php'); This works perfect, but I need to load about 9 different pages when a certain page loads. I thought it would be easier to just use an onLoad function in the header, but I keep getting errors by doing this onLoad="javascript:attach_file('mysql_insert.php'); ('plumbing_insert.php'); Can anybody help me out on how to load multiple pages with the onLoad function? Thanks in advance Link to comment https://forums.phpfreaks.com/topic/116664-what-is-the-best-way-to/ Share on other sites More sharing options...
secoxxx Posted July 26, 2008 Share Posted July 26, 2008 try onLoad="javascript:attach_file('mysql_insert.php', 'plumbing_insert.php'); and so on Link to comment https://forums.phpfreaks.com/topic/116664-what-is-the-best-way-to/#findComment-599842 Share on other sites More sharing options...
timmah1 Posted July 26, 2008 Author Share Posted July 26, 2008 i tried that also, but to no avail Link to comment https://forums.phpfreaks.com/topic/116664-what-is-the-best-way-to/#findComment-599871 Share on other sites More sharing options...
corbin Posted July 26, 2008 Share Posted July 26, 2008 onload="func1(var1); func2(var2);" Link to comment https://forums.phpfreaks.com/topic/116664-what-is-the-best-way-to/#findComment-599966 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.