在将数据插入数据库时,我从MySQL获得了此错误:
您的SQL语法有错误;请检查与您的MySQL服务器版本对应的手册,以获得使用“near”(apply_date、leave_category、leave_type、from_date、to_date、理由、duty_‘在第1行)的正确语法。=mysql_query("INSERT INTO leave (apply_date, leave_category, le
我是一个比较新的php.The问题,当我在我的数据库的'leave‘表中插入值时,我面临着这个问题。错误如下所示。您的SQL语法中有一个错误;请查看与您的MySQL服务器版本对应的手册,了解在第1行'where lid = 4‘附近使用的正确语法。<?php
$accept = "accepted";
mysql_query("insert into `<e
$week_leave = mysql_query("select count(id),leave.id from `leave`, `users` where leave.backgroundColor= 'Green' and leave.id=(select U_id from `users` where users.username='$_SESSION['username']')");
给出以下错误
大家好,几乎有2天,我在这个错误的水平上仍然停滞不前,我尝试了几个在论坛上发布的解决方案,但是如果有人能帮助我继续前进,它是行不通的。
Erreur SQL:插入covoiturage.proposition (切入点、切入点、日期、时间、类型、nbrdeplace、prix、数字、描述)值(“Bab bhar”、“Cit c el Khadhra”、“2018-01-30”、“22:06”、“e”、“2”、“7.1”、“21625822649”、“在vous pouvez d d crire le trajet que Vous prix que description en