Raised This Month: $ Target: $400
 0% 

Need this plugin saving by SQL


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PattyBiena
BANNED
Join Date: Jul 2010
Location: Argentina
Old 07-22-2010 , 13:26   Re: Need this plugin saving by SQL
Reply With Quote #3

Quote:
Originally Posted by lucas_7_94 View Post
PHP Code:
 if(nmonths==1)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==2)
 {
  
set_task(0.0"february")
 }
 if(
nmonths==3)
 {
  
set_task(0.0"thirty")
 }
 if(
nmonths==4)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==5)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==6)
 {
  
set_task(0.0"thirty")
 }
 if(
nmonths==7)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==8)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==9)
 {
  
set_task(0.0"thirty")
 }
 if(
nmonths==10)
 {
  
set_task(0.0"thirtyone")
 }
 if(
nmonths==11)
 {
  
set_task(0.0"thirty")
 }
 if(
nmonths==12)
 {
  
set_task(0.0"newyear")
 }
 return 
PLUGIN_HANDLED 
simply , awesome...

btw , read the tutorial's-
new const test[][] = { "NONE", "Thirtyone", "February", "Thirty", ...

use

PHP Code:
set_task(0.0test[nmonths]) 
PattyBiena is offline
 



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


All times are GMT -4. The time now is 00:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode