View Single Post
  #3  
Old 05-19-2011, 01:54 PM
Zampher Zampher is offline
Member
 
Join Date: May 2011
Posts: 2
Gender: Male
Credits: 562
Zampher is on a distinguished road
Default

Well experiencing some can resolve the problem that you can donate more than you have (I should clarify that I am not a programmer, not absolutely nothing about programming and what I did was rather a bit of "deduction"). Only a conditional solves that problem, but not that of the negative numbers.

Search:
Code:
if($_POST)
And add above
Code:
if($amount < $money){
Then Search:
Code:
else
{
	$article_title = $accden;
	$article_content = $reqlogin;
}
And replace with:
Code:
else
{
	$article_title = $accden;
	$article_content = "No puedes donar mas de lo que tienes";
}

}
Reply With Quote