Last active
August 29, 2015 14:10
-
-
Save yoimbert/2d759da126c47b4e1890 to your computer and use it in GitHub Desktop.
syntax LAF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$query_RecordsetLot = "UPDATE Lots SET `status` = 'optionné' , date='".date("Y-m-d", mktime(0, 0, 0, date("m") , date("d")+14, date("Y")))."', userid=".$_SESSION['kt_login_id']." WHERE idLot =".$idLot; | |
Pour faire une verif et voir l'erreur. | |
1/ consulter les logs | |
2/ Rempalcer les variables par des valeurs | |
Exemple : | |
$query_RecordsetLot = "UPDATE Lots SET `status` = 'optionné' , date='2014-11-26', userid=1 WHERE idLot = 547"; | |
Là il n'ya plus d'erreur ... En faite ct la partie session qui n'etait pas configuré. user=1 il n'etait pas renseigné. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment