function Update()
{
global $_SESSION['sId'],$_SESSION['sName'],$_SESSION['sPirce'],//
这一行提示有错parse error, unexpected '[', expecting ',' or ';'
但是没有看出什么错?
关注ing !!!!!!
{
global $_SESSION['sId'],$_SESSION['sName'],$_SESSION['sPirce'],//
这一行提示有错parse error, unexpected '[', expecting ',' or ';'
但是没有看出什么错?
关注ing !!!!!!
解决方案 »
- Php 调用COM组件带out参数的方法问题
- PHP的一段登陆代码
- 请问谁有完全中文的PHP5手册??
- php上传到服务器后如何连接数据库?
- CI框架去掉index.php问题
- 相对路径还是绝对路径?!
- 请那位先生\小姐帮我看看这段php程序.为什么程序中$concent传入数据库的值是$concent而不能转为html(fubu.php部分)
- 用正则表达式求<img src=...>图片字符串
- 关于多个combobox(select)的问题:
- 求救:Warning:...supplied argument is not a valid MySQL result resource in...
- 判断客户端文件是否存在?急______________
- 如何实现从html代码中间提取出纯文本?
在用之前先把session中的变量取出来再操作吧。
global $_SESSION['sId'] , $_SESSION['sName'] , $_SESSION['sCount']
的那些行都出错。错误提示为:
parse error, unexpected '[', expecting ',' or ';'
注意
If you are using $HTTP_SESSION_VARS/$_SESSION and disable register_globals, do not use session_register(), session_is_registered() and session_unregister(). If you enable register_globals, session_unregister() should be used since session variables are registered as global variables when session data is deserialized. Disabling register_globals is recommended for both security and performance reason. 关注高手提供合理的的解决方法!!!!