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