doulan8330 2018-10-16 12:15
浏览 63

通过URL为每个供应商传递供应商ID

I am trying to pass a vendor ID through a url. Each vendor should have a link called "rate this vendor" that when clicked brings you to a rate_vendor_add page with that particular vendor chosen in the drop down box. I am using a php generator program. Support told me to add the following code. It is pulling the vendor id but it is not a hyperlink. Can anyone see anything wrong with this code? There is an image of where he said this code goes and an image of what now shows in the column that is supposed to display a link to the rate vendor page.

$value = "< a href='vendor_ratings_add.php?vendorid=" . $data["ID"] . "'Rate this vendor</a>";

view as link

rate vendor link is gone

  • 写回答

1条回答 默认 最新

  • douzhui1972 2018-10-16 12:19
    关注

    The a tag is not closed.

    Try this:

    $value = "<a href='vendor_ratings_add.php?vendorid=" . $data["ID"] . "'>Rate this vendor</a>";
    
    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记