PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
echo "You can save £ $saving than your local shop";
$saving = 1000 / 0.7 ;
This is an example as all the calculations are pulled from the database but needs display above after database query. Could it be done using <div> tags?
Make sure you return the variable in the function.
Or better still add an amperstand in front of the variable "&" e.g
Function functionname( &$varible) {
Eval variable;
//do not return variable because you have us amperstand
}