| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Oct 2005 Location: Andromeda
Posts: 136
![]() | You didn't give enough information (name of the user, mysql type of the date, database type, ...) but you can use this to create your own script: PHP Code:
__________________ Christmas FAQ | Hussein Trial Blog | News for developers | Find your IP address | Anti-Spyware resource | The Interweb | Halloween FAQ | sweetgifts.us | lqfp.com |
| |
| | THREAD STARTER #3 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I told you the type of date - F d, Y which really only fits in VARCHAR... use some logic. Database type... MySQL .... really: What other database system implements w/ PHP so well and is used so commonly? I am not willing to buy a script from somebody that does not know what they're doing. Please write an original script for you to get your $5 - again it must be tested on your own server. |
| |
| | #4 (permalink) | ||||
| NamePros Member Join Date: Oct 2005 Location: Andromeda
Posts: 136
![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=148020 Edit: Here, because I'm a nice guy: Look into the MySQL cast operator to create a workaround for your horrible table design. Something like "select cast(last_login as date) from table". Maybe you're lucky and that works.
__________________ Christmas FAQ | Hussein Trial Blog | News for developers | Find your IP address | Anti-Spyware resource | The Interweb | Halloween FAQ | sweetgifts.us | lqfp.com
Last edited by sjp; 12-14-2005 at 01:27 PM.
| ||||
| |
| | THREAD STARTER #5 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | I'm glad you appreciate the fact that I told you that you don't know what you're doing. Your welcome. And, obviously you don't know what you're doing since I specifically ask that I see a sample of it. Now bug off and I would appreciate it if somebody else could follow my criteria. |
| |
| | #7 (permalink) |
| NamePros Regular Join Date: Nov 2005 Location: EU
Posts: 248
![]() | Yeah, you need to post the table structure at least. And honestly, if this is such a critical thing for you (and obviously it is and you can't risk screwing up your server/database/site), I think you should offer more. BTW, sjp's solutions looks fine to me (different coding style, though ). |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Huge Script Pack for $5 with Resale Rights | dsforsaken | Scripts For Sale | 32 | 12-03-2005 09:46 PM |
| [urgent] Help! Mass_Add script not working for olate | WuLabsWuTecH | Programming | 0 | 04-23-2005 03:49 PM |
| Domain Parking Script | ezimedia | Parking & Traffic Monetization | 3 | 03-03-2004 12:17 AM |