I am trying to echo the below in a new way but I get an error
old code
echo floor ($row ['avprice']);
New code , line 66
echo floor '<h5> '.($row ['avprice']).'</h5>';
Error
Parse error: syntax error, unexpected '"', expecting ',' or ';' in C:\wamp\www\boot\details1.php on line 66
I have tried changing the " and ' ' but no joy whatever I try. I m basically just trying to round the price down or just remove everything after the decimal place , so "no" decimal places.
Thanks
'. floor ($row ['avprice']).'
';` – Alive to die - Anant Feb 01 '17 at 20:10