Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Off Topic Discussions > Webmasters Area

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2009, 12:08 PM
exdiogene exdiogene is offline
Member
 
Join Date: Oct 2009
Posts: 84
Credits: 12,522
exdiogene
Default RE: Stumped

Well in all intents and purposes the script should work as he currently has it.

@Fireballchad: May we look at the script? Maybe we can spot an error as the script should work as you described it.
Reply With Quote
  #2  
Old 12-01-2009, 02:43 PM
Fireballchad Fireballchad is offline
Member
 
Join Date: Aug 2009
Posts: 49
Credits: 12,101
Fireballchad
Default RE: Stumped

Quote:
Originally Posted by tommyk1210
Well in all intents and purposes the script should work as he currently has it.

@Fireballchad: May we look at the script? Maybe we can spot an error as the script should work as you described it.
Oh I put it back to normal because I could not get it to work properly.
I will show you what I was attempting to do.
PHP Code:
              $query "SELECT * FROM `adopts_users` WHERE `username`='$loggedinname'";
                  
$result mysql_query($query);
                  
$num mysql_numrows($result);
                  
                  
$i 0;
                  while (
$i 1) {
                      
$bonus = @mysql_result($result$i"bonus");
                      
$i++;
                  }

$newclicks $totalclicks $bonus;// Add 1 click to the current click total of this adoptable...
    

    // Actually insert our click information into the database...

    
$query "UPDATE ".$prefix."owned_adoptables SET totalclicks='$newclicks' WHERE aid='$id'";
    
mysql_query($query); 
***Edit
Hmmm I just changed it on my script to see if it could work... and it worked... I have no clue why it was not working before hand...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
stumped. i really need help. Phoeniix Questions and Supports 21 10-29-2013 02:14 PM


All times are GMT -5. The time now is 04:55 PM.

Currently Active Users: 3843 (0 members and 3843 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636