質問編集履歴
1
コード変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
$cn1=mysql_connect("localhost","root","****");
|
32
32
|
$db=mysql_select_db("sample",$cn1);
|
33
|
-
if(!empty($_POST["
|
33
|
+
if(!empty($_POST["txt"])){
|
34
34
|
$result = mysql_query("INSERT INTO preview(txt,photo1,) VALUE(\"$_POST[txt]\",\"$filename\")",$cn1);
|
35
35
|
}
|
36
36
|
|