DIM*_*ION 1 php mysql syntax insert
使用简单的插入命令挣扎,我收到了错误
You have an error in your SQL syntax; check the manual that corresponds to
your MySQL server version for the right syntax to use near 'All In:
The Poker Movie, tells the story of poker focusing on why one of our nat'
at line 2"
Run Code Online (Sandbox Code Playgroud)
基本上将电影信息传递到表格中,这里是代码 -
$query1 = "INSERT INTO Films_Info (Films_ID,FilmName, FilmRelease, Synopsis,Poster,CritScore,AudScore,Director,Studio,IMDB,date_added_db)
VALUES ('',$Film_Name', '$Film_Release','$filmsynopsis','$film_image','$film_critic','$film_audience','$film_director','$film_studio','$film_imdbID','')";
$runquery1 = mysql_query($query1)or die(mysql_error());
Run Code Online (Sandbox Code Playgroud)
多谢你们
| 归档时间: |
|
| 查看次数: |
209 次 |
| 最近记录: |