Advanced PHPMysql programming skills. I have made the following attempts .? Php $ data_time1998-12-3123: 59: 59; $ connect_localhost); $ query_SELECTDATE_ADD ($ data_time, INTERVAL1YEAR), $ I made the following attempts.
Optional $ data_time = "23:59:59 ";
Response $ connect_id = mysql_connect ('localhost ');
Latency $ query_id = mysql_query ("SELECT DATE_ADD ('latency $ data_time ', INTERVAL 1 YEAR)", cost $ connect_id );
Required $ data_time = mysql_result (cost $ query_id, 0 );
Mysql_close (response $ connect_id );
Echo timeout $ data_time;
?>
We can also use other functions provided by Mysql during programming.
Of course, you can check the manual for the functions and usage provided by Mysql.
If this is not the case, please correct me!
Author Email: fancao0515@0451.com
Fancao0515@21cn.com
Yi Xiaosheng
Bytes. ? Php $ data_time = "23:59:59"; $ connect_id = mysql_connect ('localhost'); $ query_id = mysql_query ("SELECT DATE_ADD ('$ data_time', INTERVAL 1 YEAR )", $...