This is a program for adding news in my system. you can upload images or enter

Source: Internet
Author: User
? The table structure used by php/******* DROPTABLEIFEXISTSindex_news; CREATETABLEindex_news (news_idbigint (20) NOTNULLauto_increment, news_datedateDEFAULT0000-00-00NOTNULL, news_t /******* The table structure used ********
Drop table if exists index_news;
Create table index_news (
News_id bigint (20) not null auto_increment,
News_date date DEFAULT '2017-00-00 'not null,
News_title varchar (100) not null,
News_content text,
News_link varchar (100 ),
Is_new char (1) DEFAULT '1 ',
Picture_id int (11 ),
Picture_side char (1) DEFAULT '1 ',
News_show char (1) DEFAULT '1 ',
Primary key (news_id ),
KEY id (news_id)
);
Drop table if exists picture;
Create table picture (
Id int (11) not null auto_increment,
Picture blob not null,
Picture_type varchar (50) not null,
Primary key (id ),
UNIQUE id (id)
);
**********************/
Require ("../include/date. inc. php3 ");
Require ("../include/config. inc. php3 ");
?>




Modify homepage news information

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.