![]() |
| Home Community Mys-Script Creative Off-Topic |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#13
|
||||
|
||||
|
First of all, !empty() can be used to replace is_numeric(), but I am pretty sure the redeem.php has !is_numeric(). See the difference? ! means 'not', so it is the opposite to is_numeric(). Of course it wont work if you change !is_numeric() to !empty(), it should be empty() instead.
I also do not recommend you to change every is_numeric() to !empty(), unless all your table IDs are alphanumeric. If the trade id is still numeric, you are better off just leave the code the way it was.
__________________
![]() Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Make pets' trade status Not For Trade by default | tahbikat | Questions and Supports | 3 | 12-13-2015 10:21 PM |
| View Public Trade Offers not working. | Pear | Questions and Supports | 16 | 03-10-2014 06:29 PM |
| Version 3? | AlexC | Feedback and Suggestions | 8 | 09-09-2011 05:37 PM |
| When the new version?? | SieghartZeke | Suggestions and Feature Requests | 4 | 12-02-2010 04:53 AM |
| Mac version? | Smoggy | Questions and Supports | 7 | 08-01-2010 05:36 PM |
What's New? |
What's Hot? |
What's Popular? |