Code (PHP) Fatal error: Call to undefined function showAttachfile() in C:\AppServ\www\t-ara_fanclub\viewtopic.php on line 78
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Webboard</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
<script language="javascript">
function addEmo(num) {
document.frmReply.detail.value = document.frmReply.detail.value + '[' + num + ']';
}
function checkNull () {
if (document.frmReply.detail.value=="" || document.frmReply.detail.value==null){
alert ('Please insert subject !');
document.frmReply.detail.focus();
return false;
}
document.frmReply.submit();
}
</script>
</head>
<body>
<br/>
<?php
include ("connect.php");
include ("function.php");
$sql = "update webboard_post set view=view+1 where question_id=".$_REQUEST['id'];
$query = mysql_query($sql) or die (mysql_error());
$sql = "select * from webboard_post where question_id=".$_REQUEST['id'];
$query = mysql_query($sql) or die (mysql_error());
$row = mysql_fetch_array($query);
?>
<?php
$sql = "select * from webboard_reply where question_id=".$_REQUEST['id'];
$query = mysql_query($sql) or die (mysql_error());
$num = mysql_num_rows($query);
if ($num>0){
for($i=0;$i<$num;$i++){
$row = mysql_fetch_array($query); ?>