![]() |
|
|
|
#1
|
||||
|
||||
|
I think I'm done for now! Thanks again! - I think you've done most of the work for me. XP
|
|
#2
|
||||
|
||||
|
Oops, one more thing! Now I'm getting an error with the datetime - frozen adoptables only: DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character
Do I need to edit the datetime to show 0 when the adoptable hasn't been bred? I can't seem to find it... XP Edit: nevermind, I found a way to fix it, but I want to replace 1970-01-01 with 0 Last edited by Hwona; 05-06-2014 at 09:12 AM. |
|
#3
|
||||
|
||||
|
Quote:
What about $lastbred = 0;//this way lastbred is always 0 if getLastBred() also returns 0 if($this->adopt->getLastBred() != 0){ $dt = new DateTime( "@" . $this->adopt->getLastBred() ); $lastbred = $dt->format('Y-m-d'); }
__________________
![]() ![]() ![]() asp.net stole my soul. |
|
#4
|
||||
|
||||
|
Yay! It works! :D
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Editing Stats Page & Little Icon | Glow | Questions and Supports | 4 | 12-07-2014 09:29 AM |
| Online list ... and a Stats Page for Players | Missy Master | Questions and Supports | 2 | 07-07-2014 10:58 AM |
| Help Making Stats Page = Click Page & Lineages? | squiggler | Questions and Supports | 2 | 02-22-2014 05:42 AM |
| Adoptable Stats | Abronsyth | Suggestions and Feature Requests | 2 | 09-10-2011 03:28 PM |
| Random Adoptable Click page | AlkseeyaKC | Suggestions and Feature Requests | 4 | 07-01-2011 03:49 PM |
What's New? |
What's Hot? |
What's Popular? |