Jump to content

timestamp


Guest elthomo

Recommended Posts

Having is usually used with group sql statements. You also need to put your field first in the where portion also no real need to use max

 

$queryb = "SELECT * FROM `adresgegevens` WHERE `dissiernummer` = '$dossiernummer' ORDER BY `timestamp` DESC LIMIT 1";

 

that should give you the latest one

 

Ray

Link to comment
https://forums.phpfreaks.com/topic/96138-timestamp/#findComment-492172
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.