变量值不出现 [英] variable value doesn't appear

查看:61
本文介绍了变量值不出现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我在更新页面中使用"id"作为查询字符串,并使用该ID并从中检索所有项目详细信息,当我尝试此操作时

hi all

i am in update page with "id" as a querystring and take that id and retieve all item details from it , when i try this

$dtl=@mysql_query("select * from shop_item where id='$id'");
$id=@mysql_result($dtl,0,"id");
$judul=@mysql_result($dtl,0,"title");





<input name="judul" size='40' value='$judul'  />



"$ judul"出现在文本框中,而不是其值

所以,请帮忙.......


谢谢



the "$judul" appears on the textbox not its value

So, Any Help Please..........


Thanks

推荐答案

dtl = @ mysql_query("
dtl=@mysql_query("select * from shop_item where id='


id'");
id'");


id = @ mysql_result(
id=@mysql_result(


这篇关于变量值不出现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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