Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Date: Sun, 15 Jun 2014 20:27:44 +0200 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: How to loop through the dates? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <06517b-nad.ln1@luuk.invalid.lan> Lines: 19 NNTP-Posting-Host: 2001:980:9089:1:6c7b:5d73:47a8:ba0b X-Trace: 1402857002 news.xs4all.nl 2830 [2001:980:9089:1:6c7b:5d73:47a8:ba0b]:38263 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.php:13863 On 15-6-2014 19:59, richard wrote: > You guys are hell bent on this date issue you forget that columns can hold > any data in any manner.Regardless of their name. stop doing that, that's not smart.... > The only two things the table cares about is, the data is either a string > or a numeric. as far as PHP is concerned you may be right, but you are not: http://www.php.net//manual/en/language.types.php and as far a MySQL is concerned you are not: http://dev.mysql.com/doc/refman/5.6/en/data-type-overview.html ;-)