亲爱的朋友 我的表象是我的q。
<label for="fullname">Fullname</label>
<input type="text" name="fullname" />
<label for="photo">Upload photo</label>
<input name="photo" type="file"/>
和在“基地”组织目标上,我
$fullname = $_POST[ fullname ];
$uploaddir = ./uploads/ ;
//upload file in folder
$uploadfile = $uploaddir. basename($_FILES[ photo ][ name ]);
//insert filename in db
$upload_filename = basename($_FILES[ photo ][ name ]);
move_uploaded_file($_FILES[ photo ][ tmp_name ], $uploadfile);
$photo = $upload_filename;
$sql = "INSERT INTO members(fullname,photo) VALUES( $fullname , $photo )";
$stmt = $link->query($sql) or die($link->error);
$stmt->close;
请帮助我,我是在现场利用这一信息。