You are here: Getting an MySQL first day and last day statement « PHP SQL « IT news, forums, messages
Getting an MySQL first day and last day statement

Posted by laredotornado on 02/23/06 19:24

Hi,

On a search form, we are going to have someone pick a month fo the year
for which they'd like to search for trips. Here is an example option
from the menu

<OPTION value="2006-03-01 00:00:00.0">March 2006</OPTION>

How can I write a MySQL statement that asks "give me all trips between
(and including) the first day of March, 2006 and the last day of March,
2006?"

I'm using MySQL 4, PHP 4.

Thanks, - Dave

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация