根据输入删除 [英] delete based on input

查看:66
本文介绍了根据输入删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试做的是根据用户输入的值动态生成的行(即$ mybody)从xml中删除一行。

我提供的代码中的
...只需添加一行< / gallery>在< / gallery>的现有行下方并且回显$ temp和$ arr [i]的行不显示它显示类似断页的图标。只需运行代码nu将理解我即时通讯说。

展开 | 选择 | Wrap | 行号

解决方案

mybody动态从用户输入的值。

我提供的代码中的
...只需添加一行< / gallery>在< / gallery>的现有行下方并且线路回显


temp和


arr [i]不显示它显示类似断页的图标。只需运行代码nu将理解我即时通讯说。

展开 | 选择 | Wrap | 行号


wat i m trying to do is delete a line from the xml based on the line generated i.e $mybody dynamically from the values entered by the user.

in the code i provide...it simply adds a line </gallery> belowe the existing line of </gallery> and the line echoing $temp and $arr[i] do not display it shows a icon similar broken page. just run the code n u will understand wat i m saying.

Expand|Select|Wrap|Line Numbers

解决方案

mybody dynamically from the values entered by the user.

in the code i provide...it simply adds a line </gallery> belowe the existing line of </gallery> and the line echoing


temp and


arr[i] do not display it shows a icon similar broken page. just run the code n u will understand wat i m saying.

Expand|Select|Wrap|Line Numbers


这篇关于根据输入删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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