PHP implementation static HTML page Statistics views Instance Code _php tutorial

Source: Internet
Author: User
PHP implementation of static HTML page statistics views Instance code

News.html





Record access times





act.php

$db = mysql_connect (Localhost,root, 123456) or Die ("Connection Database Failed");
mysql_select_db (Zend, $db);
mysql_query ("SET NAMES UTF8");
mysql_query ("Update info set msg=msg 1 where id=1");
$sql = "Select msg from info where id=1";
$rs = mysql_query ($sql);
$row = Mysql_fetch_array ($RS);
$STR = $row [MSG];
$json _string = $str;
echo "GetProfile ($json _string);";
?>

http://www.bkjia.com/PHPjc/486169.html www.bkjia.com true http://www.bkjia.com/PHPjc/486169.html techarticle PHP implementation of static HTML page statistics views Instance code news.html! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona ...

  • 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.