Jump to content

Select all from todays date forward


rondog

Recommended Posts

ok I found the previous ASP file that does what I am wanting to achieve with the same database

<%
	strSelectSQL = "SELECT * FROM DE_Events WHERE event_date >= '" & date & "' order by event_date"
%>

 

I dont see 'date' defined anywhere so I am guessing date is equivelant to PHPs date("m/d/Y");

 

If I echo date("m/d/Y");

 

it echoes out 4/10/2008

 

I cant test this right now because I am not home, but does the >= sign work with MySQL since that SQL string is for a MS SQL db?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.