dwest100 Posted December 8, 2014 Share Posted December 8, 2014 Hi, I have this snippet in my page: <?php echo $EM_Booking->get_price(true) * $EM_Booking->get_spaces(); ?> The page executes with no hitches except the price is not multiplied by the spaces. I get and echo of "0". I'm new to this. Any help would be greatly appreciated and thanks! Quote Link to comment https://forums.phpfreaks.com/topic/292975-why-wont-this-echo-the-product-in-the-html-page/ Share on other sites More sharing options...
Solution dwest100 Posted December 8, 2014 Author Solution Share Posted December 8, 2014 Disregard! I figured it out. seems all one has to do is enlist the help of others on a forum and the Great Aha comes on it's own :-) Thanks for reading! I was calling th wrong function duh! Sorry! Quote Link to comment https://forums.phpfreaks.com/topic/292975-why-wont-this-echo-the-product-in-the-html-page/#findComment-1499047 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.