php파일 수정할거 알려주세요
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<?php
$connect = mysql_connect("localhost","otozz","qlalfqjsgh2!");
mysql_select_db("data",$connect);
$userid = $_POST['userid'];
$userpass = $_POST['userpass'];
$username = $_POST['username'];
$userhp = $_POST['userhp'];
$result = mysql_query($sql, $connect);
while($otozz=mysqli_query($con, $sql)
{
echo "<tr>
<td align=center width=80 height=30>$data[userid]</td>;
<td align=center width=80 height=30>$data[userpass]</td>;
<td align=center width=80 height=30>$data[username]</td>;
<td align=center width=80 height=30>$data[userhp]</td>;
</tr>";
}
?>
</body>
</html>
이렇게 적어놨는데 지금
Parse error: syntax error, unexpected '{' in /host/home4/otozz/html/qqqq.php on line 17
이런 오류가 나옵니다 { 여기 줄이 잘못됬다고 나오는데 어디서부터 수정을해야하는지 답변부탁드립니다 ㅠㅠ
아 이거는 html로 사이트를 만들어서 회원가입 하면 db로 이동하게 만들어놨습니다
답변 4개
답변을 작성하려면 로그인이 필요합니다.
로그인