Jump to content

select current date


techker

Recommended Posts

Don't know how, this query isn't right...

 

$sql = 'EXPLAIN SELECT CURRENT_DATE FROM `members` WHERE `date_rendezvous`'; 

 

The WHERE clause needs something to compare to.  Anyway, if it works in PhpMyAdmin then I guess it should work in your code.  We need to see the whole query part of your code.

Link to comment
https://forums.phpfreaks.com/topic/130297-select-current-date/#findComment-675735
Share on other sites

You should be getting an error, please change this line to view the error:

 

$fileLIST=mysql_query($delRT) or die(mysql_error());

 

You have WHERE `date_rendezvous` with no comparison, I don't even understand how this works.  Please re-run the script with the debugging code and tell me what it says.

Link to comment
https://forums.phpfreaks.com/topic/130297-select-current-date/#findComment-675866
Share on other sites

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.