Ask the DWZPHP website background page change question

Source: Internet
Author: User
Ask the DWZPHP website background page change question. This post was last edited by gdljw at 11:45:59.

Dwz php page feed

Finally, let's use PHP + DWZ as the website background. find this code on the internet. if the trial is normal, you can change the page. However, I want to add the condition caidid = caidid pagination, directly at $ SQL = "select id, u_id, u_name, last_logintime, last_ip, last_imei, last_phone_number, last_logintype from users where CateId = '$ cateid2' and $ tiaojian like' % $ neirong % 'Order by $ orderField {$ orderDirection} limit {$ fup_page}, {$ numPerPage }";

The page cannot be changed. how can I set it?


 
 

  • Add project

'; Echo" "; Echo" "; Echo" "; Echo" "; Echo" "; Echo" "; Echo" '; $ I ++ ;}?>
User name Name Last logon time Last logon IP address IMEI code Login phone number Logon type Delete
{$ Row [1]}{$ Row [2]}{$ Row [3]}{$ Row [4]}{$ Row [5]}{$ Row [6]}[Delete] "; Echo'

Display2050100200Items, total Entries

'; If ($ _ GET ["command"] = "del") {if (DB: delUser ($ _ GET ["uid"]) {echo "script" alert ('deleted successfully! '); Script ";} else echo" script alert ('deletion failed! '); Script ";} if ($ _ GET [" command "] =" delgroup ") {if (DB :: deleteGroup ($ _ GET ["gid"]) {echo "script" alert ('deleted successfully! '); Script ";} else echo" script alert ('deletion failed! '); Script ";}?>

Script function delusers (id) {var u_id = id; $. ajax ({type: "POST", url: "js_helper.php? Option = deluser ", dataType:" json ", data: {" uid ": u_id}, success: function (json) {if (json. success = 1) {alert ("deleted successfully! ");} Else {alert (" deletion failed! ") ;}}, Error: function (xhr, desc, exception) {alert (xhr +": "+ desc +": "+ exception );}});} script


Reply to discussion (solution)

And solve it by yourself ..

How can this problem be solved?

Can you refer to the source code?

PHP + DWZ?
We use PHP +

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.