We have never added content to this tag , this is the position where our message will be displayed
Let’s look at the following code
;Content ; # ## & lt; td colorpan = "4" id = "td" & gt; & lt; a href = "" & gt; Home & lt;/a& gt; & lt; td> ; ##Add the php tag to the head of the file
The code is as follows:
$total_page ? $total_page:$page;//当下一页数大于最大页数时的情况 //分页设置初始化 $start=($page-1)*$perpage; //展示留言 $sql1 = "select * from mess order by id desc limit $start,$perpage"; $res = mysql_query($sql1); //$row=mysql_fetch_array($res); ?>
Then our html page must also add the php code:
"
Message Board
: ;?php echo $_SESSION['name'];?>,Hello!
= "CONT" & GT;
& LT; div ID = "left" & gt;
& lt; h5 & gt; write a message & lt;/h5 & gt;
& lt; HP "& gt;
Title: & lt; input type =" text "placeHolder =" Please enter the title "name =" title "& gt;
& lt;/br & lt; & br & gt;
: & lt; textarea cols="40" rows="5" name="content">
Add a message" id="sub">
;
The courseware is not available for download at the moment. The staff is currently organizing it. Please pay more attention to this course in the future~
Students who have watched this course are also learning