PHP做後台版塊修改時出現錯誤

2021-10-04 11:11:35 字數 2779 閱讀 4093

php做後台版塊修改時出現錯誤

我在做版塊修改時出現了乙個錯誤就是:

if (!isset(get

[′id

′])∣

∣!is

nume

ric(

_get['id']) || !is_numeric(

g​et[′

id′]

)∣∣!

isn​

umer

ic(_get[『id』]))

katex parse error: expected '}', got 'eof' at end of input: …dule where id=";

r es

ult=

exec

ute(

result=execute(

result

=exe

cute

(link, que

ry);

if(!

mysq

linu

mrow

s(

query); if (!mysqli_num_rows(

query)

;if(

!mys

qlin

​umr

​ows

(result))

if (isset($_post[『submit』]))', got 'eof' at end of input: … module_name='』=』' at position 12: module_name}̲' and id= ";

r es

ult=

exec

ute(

result=execute(

result

=exe

cute

(link, que

ry);

vard

ump(

mysq

life

tcha

ssoc

(query); var_dump(mysqli_fetch_assoc(

query)

;var

d​um

p(my

sqli

f​et

cha​

ssoc

(result));

exit();/

if (mod

ulen

ame=

=module_name==

module

n​am

e==_get[『update_name』])

$query="update jh_father_module set module_name='',sort= where id= ";

$result=execute($link, $query);

if (mysqli_affected_rows($link)==1)else

}

出現了乙個錯誤,每當驗證pos

t[′m

odul

enam

e′]失

敗的時候

就會彈出

skip

(′fa

ther

modu

le.p

hp′,

′err

or′,

′id參

數錯誤,

請重試!

′)然後

彈出sk

ip(′

fath

ermo

dule

.php

′,′e

rrer

′,′修

改失敗!

′);i

nclu

de′i

nc/c

heck

fath

ermo

dule

.inc

.php

′;都是

條件語句

判斷

_post['module_name']失敗的時候就會彈出 skip('father_module_.php','error','id引數錯誤,請重試!')然後彈出 skip('father_module.php','errer','修改失敗!'); include 'inc/check_father_module.inc.php';都是條件語句判斷

p​ost[

′mod

ulen

​ame

′]失敗

的時候就

會彈出s

kip(

′fat

herm

​odu

le.​

php′

,′er

ror′

,′id

引數錯誤

,請重試

!′)然

後彈出s

kip(

′fat

herm

​odu

le.p

hp′,

′err

er′,

′修改失

敗!′)

;inc

lude

′inc

/che

ckf​

athe

rm​o

dule

.inc

.php

′;都是

條件語句

判斷_post[『module_name』]和$_post[『sort』]寫入資料庫時的條件。請問有什麼解決方法。

discuz批量修改論壇版塊許可權和使用者組許可權的方法

1.批量開通各版塊多 新增許可權和html 許可權 複製 如下 update pre forumoimibpruc forum set allowmediacode 1,allowhtml 1 2.批程式設計客棧量開通各www.cppcns.com使用者組多 新增許可權和html 許可權 複製 如下...

php 後台執行,PHP開啟守護程序後台執行

只能在linux環境執行有時候難免要用到php守護程序,需要在cli模式下保持執行,直接一段 即可,linux php守護程序 啟動 停止 重啟 查詢狀態 class servicedeamon else else if pid 0 else else else else else echo pro...

織夢後台介面修改

修改位置 xampp htdocs dede templets login.htm。將 修 改 為 2.1登陸介面底部版權資訊修改 修改位置 xampp htdocs dede templets login.htm 將 poweredbydedecms echo cfg version 這段 是版權...