include "config/lib.php"; include "$yourhome_toppage"; $result=mysql_query("select * from $_GET[board] where id=$_GET[id]"); $row=mysql_fetch_array($result); if(eregi("free",$_GET[board])){ if ($_SESSION[seecheck]) { $see=$row[sr_hit]+1; }else{ $see=$row[sr_hit]+$todayupct; $seecheck="yes"; $_SESSION[seecheck]="$seecheck"; } }else{ $see=($row[sr_hit]+1) + $todayupct; } $update=mysql_query("update $_GET[board] set sr_hit='$see' where id=$_GET[id]"); $rowfilename1 = $row[sr_filename1]; // 자유게시판 시작///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(eregi("free",$_GET[board])){ ?>
Fatal error: Uncaught Error: Undefined constant "boardname" in /home/newstime/public_html/mak_board_my_story_read.php:53 Stack trace: #0 {main} thrown in /home/newstime/public_html/mak_board_my_story_read.php on line 53 |