Build your Website news automatic release system six
Source: Internet
Author: User
By customizing this code, you can create a Web page display format that matches your requirements.
Add, delete, show all finished, the last one, is the details of the news show.
When the user clicks on the headline, he opens the Disp.asp file and uses the Get method to pass the arguments through, and we look at the disp.asp file contents.
% @language = "VBScript"%
"The!--#include virtual="/news/data/data.inc "
《%
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Sql= "SELECT * from Data where CSTR (news_id) = '" &cstr
(Request.QueryString ("news_id")) & "'"
Rs.Open sql,conn,3,2
%》
"HTML"
So far, the press release system has been able to put into use, try, is not very convenient, it is easy to add the daily news content. The next section. We will add (title/full text) search function to the press release system, make it more perfect
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.