For a long time did not write ASP, this time to write a message board really feel a little difficult, the competition has written a whole day, haha.There is nothing else to write, the use of three-layer structure (do not know, the original three-layer concept is very confused)
Demo www.zj55.com Message board, I hope y
The newbie encountered a small problem in the example of making a message board. could you please help me? I want to make a simple message board. I don't have a database. after all, I just learned it for two days ~
Two pages. one page is an HTML message
This article mainly introduces how to implement the message board based on the thinkPHP framework. it briefly analyzes the process of implementing the message board based on the thinkPHP framework and the core code of the controller and model, for more information about how to implement the
We are in the design of the message board, the biggest problem is how to make the message board with page-turning function, and can automatically determine whether to the last page, I will be in the design of the message board use
= ' last ';Obj.appendchild (OA);}CallBack (Nownum,allnum);var aa=obj.getelementsbytagname (' a ');for (Var i=0;iAa[i].onclick = function () {var nownum = parseint (This.getattribute (' href '). substring (1));obj.innerhtml = "";Page ({Id:opt.id,Nownum:nownum,Allnum:allnum,Callback:callback});};}}Then go to the database. All the messages are captured, calculate how many pages to getand send back the pages.Window.onload=function () {//Get a total of several pagesCreaterequest ("serchcount.jsp");}f
Open dialog box, we select a place to store the picture, such as on the desktop, and then click Open
Then come to your QQ space, and then click on the button on the menu bar, in the Drop-down menu, select "Space Settings"
In the Space Settings page, click on "Spatial data", in the right side of the interface, we click "Insert Picture"
In the pop-up dialog box, click "Upload Picture" and click "Browse" to open the Browse dialog box.
Find the picture you just made, and then click "Ope
Php message board creation tutorial. This article provides php beginners with an article from database creation to the final read/write message board process. For more information, see. Create a data table this article will share with you the process from creating a database to reading and writing a
I want to achieve this is the following image of this style, can refer to the following two Web site message board, their implementation principle is the same
Chang Yan Message Board style:
NetEase Thread Style:
PrincipleYou need to add two main field IDs and PID in the comment table, and other fields are added
Traversing the PHP array database
So, I'm writing a message board with PHP, submitting it to PHP with a form and writing it to the database with the account number and title and content.Then I want to extract it and show it to the page (this is also written in PHP). But I don't know how to mention power and traverse.I think one way to do this is:$user =mysql_fetch_array (mysql_query ("Select username f
The younger brother was a beginner in PHP and compiled a message board program. He felt good about himself, so he put his face up. please correct me. The source program is as follows:
// File name: guest. php
// Settings
$ Guestfile = "guest"; // record the text file of the message
$ Home = "index.html"; // return to the home page
$ Imagedir = "image"; // image f
asp+ version of the simple Message board production (i)
/*
Tofu production, are fine
Http://www.asp888.net Tofu Technology Station
If reproduced, please retain the copyright information
*/
Objective:
As the saying goes, it is better to write a book than to look at the thousand times, indeed, a lot of purely theoretical things, see more, just have a simple understanding, in fact, in the process of specific p
Simple PHP Message Board production
To do the basic message board function requires three sheets:
Employee table, message form, friend table
First create a login page:
:
Not much, no problem.
Then, to write the processing page:
The normal processing of the login page jus
Ask for advice. I have just started to learn php and write code as a message board for php, who can help me see why there are no "reply" or "delete" options on the written page ???
Session_start ();
$ Lydb = new LyDB ();
If (isset ($ _ POST ["type"]) {
If ($ _ POST ["type"] = "insert "){
If (Authority: check_insert () = true ){
$ Lydb-> insert ($ _ POST ["nickname"], "style/avatar /". $ _ POST
If there are too long messages in the message board, the page will be very long. Do you think it is uncomfortable for those long message boards? Every time you have to pick up the scroll bars many times.
If only the title appears at the beginning, you can click the title to see the content below (note that it is not a pop-up window). Is this good!
Next, let's tak
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.