Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-18-2009, 02:53 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 18,415
BMR777 is on a distinguished road
Default RE: Freezing and limiting adoptables

It's not working how? Do you get an error at all or it just seems to be ignored?

I think the problem is that after your IF you don't have an else to proceed with the adoption. So, even if your condition is true then it is not obeyed as something else later overrides it.

It should be...

PHP Code:
if($num >= 5){

$article_title "Your companions have you busy!";
//$article_date = date('Y-m-d');
$article_content "<b>You have too many young companions!  
Please <a href='myadopts.php'>help your young companions reach age 5 or higher</a> 
before adopting new companions.</b>"
;

}
else{

// The code to actually adopt a pet goes here...
// Wrap my existing code inside the else statement.


Reply With Quote
 


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
Creating a "Faction" for adoptables/owned adoptables Vaporman87 Questions and Supports 1 03-04-2014 03:38 PM
Limiting number of eggs and hatchlings SilverDragonTears Questions and Supports 1 05-05-2012 08:44 AM
Choosing Adoptables Type [EASY ADOPTABLES SCRIPT ONLY] Ashje Addons/Mods Graveyard 2 05-24-2009 03:17 AM
Freezing adoptable development kisazeky Addons/Mods Graveyard 3 03-26-2009 03:11 PM
Pet 'Freezing' Quillink Suggestions and Feature Requests 5 01-08-2009 09:43 AM


All times are GMT -5. The time now is 05:51 AM.

Currently Active Users: 2871 (0 members and 2871 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