Advanced skills in PHP Mysql programming_PHP tutorial

WBOY
Release: 2016-07-21 15:49:43
Original
967 people have browsed it

The author made the following attempts.
$data_time="1998-12-31 23:59:59";
$connect_id=mysql_connect('localhost');
$query_id=mysql_query("SELECT DATE_ADD (' $data_time',INTERVAL 1 YEAR)", $connect_id);
$data_time=mysql_result( $query_id,0);
mysql_close( $connect_id);
echo $data_time;
? >
By analogy, we can also use other functions provided by Mysql during the programming process.
Of course, please check the manual for the functions and usage provided by Mysql.
Please correct me if I feel inappropriate!
Author Email: fancao0515@0451.com
fancao0515@21cn.com
A small life of wandering

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319453.htmlTechArticleThe author made the following attempts. ?php $data_time="1998-12-31 23:59:59"; $connect_id=mysql_connect('localhost'); $query_id=mysql_query("SELECT DATE_ADD('$data_time',INTERVAL 1 YEAR)",$. ..
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!