PHP代码未执行,请帮助 [英] PHP Code not executing please help

查看:76
本文介绍了PHP代码未执行,请帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了这行代码,但没有给出预期的输出

请帮助我找出此代码中的错误.

I wrote this line of code but is not giving expected output

please help me to find out the error in this code.

echo " <a class ='cl2' href='deleteprofile.php?id=$noticia[profileID]'  onClick='return confirm('Do

you really want to delete this Profile?')'>Delete Profile  </a><br>";

推荐答案

noticia [profileID]' onCli ck =' 返回确认(' 真的 想要 删除 配置文件?')' > 删除配置文件 < /a > < br > ;
noticia[profileID]' onClick='return confirm('Do you really want to delete this Profile?')'>Delete Profile  </a><br>";


echo "<a class ='cl2' href='deleteprofile.php?id='" .


noticia [profileID]. " ;
noticia[profileID] . "' önClick='return confirm('Do you really want to delete this Profile?')'>Delete Profile </a><br>";



您需要逃脱



you need to escape


这篇关于PHP代码未执行,请帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆