Terry103 Posted September 23, 2006 Share Posted September 23, 2006 How do I call a function from within a cell in a table?I have tried:<?php echo 'calcprice('; echo $row_rs_ebicases['price']; echo ','; echo $discnt; echo ')';?>This shows the correct values that are passed, but does not call the function and return a value Quote Link to comment Share on other sites More sharing options...
wolves Posted September 23, 2006 Share Posted September 23, 2006 <?php echo calcprice($row_rs_ebicases['price'],$discnt); ?> Quote Link to comment Share on other sites More sharing options...
Terry103 Posted September 23, 2006 Author Share Posted September 23, 2006 Thank you, that worked. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.