ckir5951 Posted December 15, 2014 Share Posted December 15, 2014 Hi, I could use a little guidance here. 1) is a function withvalues to be sent to 2).1) <!-- use ajax - OnCalc function to send data to your database. -->function OnCalc(value1,op,value2,total) {2) php file using above function values<?php header( "refresh:5;url='http://localhost/home/calcprint.php'"); echo 'You\'ll be redirected in about 5 secs. If not, click <ahref="http://localhost/home/calcprint.php">here</a>.';echo '<script type="text/javascript">' , 'OnCalc();' , '</script>';No error but code not working? Link to comment https://forums.phpfreaks.com/topic/293100-using-functions/ Share on other sites More sharing options...
Ch0cu3r Posted December 15, 2014 Share Posted December 15, 2014 Ugh? Could you please take the time to explain what is you are trying to do. Link to comment https://forums.phpfreaks.com/topic/293100-using-functions/#findComment-1499614 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.