$id =isset ($_get[' id ')? $_get[' id ']: '; if (!is_numeric ($id)) { Exit ("Sorry, the user you visited <script>alert!"); History.back ();</script> "); }else{
$sql = "SELECT * from Wk_member where id= ' $id '"; MySQL tutorial _query ("Update wk_member set m_hit=m_hit+1 where id= ' $id '"); mysql_query ("Update wk_works set w_browse=w_browse+1 where m_id= ' $id '");
$result =mysql_query ($sql) or Die (Mysql_error ()); if (mysql_num_rows ($result)) { $rs =mysql_fetch_array ($result); $no = $rs [' M_uid ']; $hit = $rs [' M_hit ']; Mysql_free_result ($result); $sql = "SELECT * from Wk_works where m_id= ' $id '"; $result =mysql_query ($sql) or Die (Mysql_error (). $sql); $w _dec = ' not written declaration '; $w _head = ' images/head.gif '; $w _support = 0; $w _blog = ' The author has not yet uploaded the works ';
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.