please help me how to compute the penalty.my want my system to automatically compute the penalty within
the given time or with the time.

What penalty are you referring to?

Member Avatar for diafol

Add this to line 17 of your code:

$penalty = $time * $wasting / POSTER + ($deserves - $nothing);
commented: Lol +12
commented: That's a bit harsh. Don't you think? +0
Member Avatar for diafol

@Parker_1

Harsh? Possibly. Discouraging noobs from filling DW with shite is part of my "duties". I occasionally cross the line from being ever so polite to being a tad miffed with inanity.

commented: you do well to keep your cool most of the time aha +0
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.