September 21, 201312 yr I have the following line in my code: $LogNumber = COALESCE((Select MAX(LogID) from jwtdriverslogs where DriverID = '$userID'),0)+1; However it is not working it used to work fine but now it isn't working it says: [21-Sep-2013 16:26:00 Europe/Minsk] PHP Parse error: syntax error, unexpected 'MAX' (T_STRING) in C:\inetpub\wwwroot\hosting\Dan\JWT\drivers-log-send.php on line 372
Create an account or sign in to comment