Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stop serve ads when user balance low
01-19-2015, 04:01 PM (This post was last modified: 01-19-2015 04:06 PM by NEPSALONE.)
Post: #1
Stop serve ads when user balance low
Im using pranto's ad network script. Im getting problem in serve ad. How to pause ad automatic when user balance low
this code working or not help me
$owner=$adv["userid"];
$adsid=$adv["id"];
$ownerbal = $db->select("users","abal",array("id"=>$owner));
if($ownerbal["abal"]<0.25){
$db->update("ads",array("status"=>3),array("id"=>$adsid));
}

Here is click.php file


Attached File(s)
.php  click.php (Size: 15.03 KB / Downloads: 13)
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-21-2015, 12:38 AM
Post: #2
RE: Stop serve ads when user balance low
try and see.

My Facebook - ArrowTxT.In
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-22-2015, 11:52 AM
Post: #3
RE: Stop serve ads when user balance low
Not working coder please help me
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-23-2015, 10:25 PM
Post: #4
RE: Stop serve ads when user balance low
Nothing can be said without knowing the structure of the code.. You must show the source code of $db (db class and functions codes such as select,update etc) to know whether the above code is right or not..
Find all posts by this user
Like Post Quote this message in a reply
01-24-2015, 06:22 AM
Post: #5
RE: Stop serve ads when user balance low
here is database file


Attached File(s)
.php  database.php (Size: 3.76 KB / Downloads: 5)
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-24-2015, 10:21 PM
Post: #6
RE: Stop serve ads when user balance low
Share the script, so that we all can try to fix it... tongue

Please Join @ http://www.ChatAddaz.Tk
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
01-26-2015, 05:50 PM
Post: #7
RE: Stop serve ads when user balance low
Nobody can help me.! I fixed this problem myself
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)