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 Link to comment https://forums.phpfreaks.com/topic/21815-calling-function-in-table-cell/ 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); ?> Link to comment https://forums.phpfreaks.com/topic/21815-calling-function-in-table-cell/#findComment-97418 Share on other sites More sharing options...
Terry103 Posted September 23, 2006 Author Share Posted September 23, 2006 Thank you, that worked. Link to comment https://forums.phpfreaks.com/topic/21815-calling-function-in-table-cell/#findComment-97434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.