alert('ข้อมูลไม่ถูกต้อง');history.back();"; exit; } if(strtoupper($securecode) != $_SESSION['securecode']){ echo ""; exit; } $sql = ''; // บันทึก $sql = "insert into newsmagazine values ('', '$username', '$name', '$email', now(), '$ip', '$remark', ".webpage_detail_func("flag_magazinenews_show").")"; $resultaffect = manage_data_func($sql); echo ""; session_unregister('securecode'); exit; } if(isset($_SESSION['loginusername'])){ $sql = "select * from memberuser where ucase(username) = '".strtoupper($_SESSION['loginusername'])."'"; $result = select_data_func($sql); $totalRow = mysql_num_rows($result); if($totalRow>0){ $row = mysql_fetch_array($result); $email= $row['email']; } } $pagename = 'magazinenewsinform'; // generate secure code $_SESSION['securecode'] = generateCode(5); ?> <br /> <b>Fatal error</b>: Uncaught Error: Call to undefined function webpage_detail_func() in /var/www/magazinedee/main/magazinenewsinform.php:53 Stack trace: #0 {main} thrown in <b>/var/www/magazinedee/main/magazinenewsinform.php</b> on line <b>53</b><br />