im having problem in my last page.... i dont how to do mathematical equations in php wahuhu...

i want to do is multiply the number of units he taken in the enrollment to 306.

(20*306) then i'll add it with 6000

hows that...

Recommended Answers

All 2 Replies

Try this
$total = (20*306) + 6000;
echo($total);

This should solve your problem.

hey, i got the script to work finally. pm me and i will give it to you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.