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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.