Concluído

Função para Deletar PHP usando XML

Tenho um XML no formato.

partes do XML;

<pocket>

<variable name="capacity" type="int">32</variable>

<variable name="timestamp" type="int">3443</variable>

<variable name="money" type="int">219732</variable>

<items>

<variable name="id" type="int">12979</variable>

<variable name="pos" type="int">0</variable>

<variable name="count" type="int">98</variable>

<variable name="max_count" type="int">100</variable>

<variable name="data" type="Octets"></variable>

<variable name="proctype" type="int">8</variable>

<variable name="expire_date" type="int">0</variable>

<variable name="guid1" type="int">0</variable>

<variable name="guid2" type="int">0</variable>

<variable name="mask" type="int">0</variable>

</items>

<items>

preciso pegar o ID do item ex: <variable name="id" type="int">12979</variable>

deletar o item inteiro que seria:

<items>

<variable name="id" type="int">12979</variable>

<variable name="pos" type="int">0</variable>

<variable name="count" type="int">98</variable>

<variable name="max_count" type="int">100</variable>

<variable name="data" type="Octets"></variable>

<variable name="proctype" type="int">8</variable>

<variable name="expire_date" type="int">0</variable>

<variable name="guid1" type="int">0</variable>

<variable name="guid2" type="int">0</variable>

<variable name="mask" type="int">0</variable>

</items>

Do XML.

Lembrando que vou colocar uma sequencia para deletar no XML de IDS.

Me indicaram usar o simplexml_load_file mas não deu tempo para fazer.

Habilidades: PHP, Arquitetura de software

Veja mais: php pos, name fun, pos php, variable data php, xml item, php variable data, xml php javascript, parsing xml php mysql, receive send xml php, build cms xml php, extracting xml php, xml php recieve, php converter html para xhtml, update xml php script, flash xml php, xml php forms

Acerca do Empregador:
( 1 comentário ) Ribeirão Preto, Brazil

ID do Projeto: #5296780

Concedido a:

diegofpr

Hello, I am available right now for work. Do you want a textbox to select the id, or just receive it by parameter?

$50 USD em 1 dia
(4 Comentários)
2.2

1 freelancer está oferecendo em média $50 para esse trabalho

shrinkray

Hi, I am sure all of other bidders are project manager or sales person so they are not capable to give you reasonable estimate. I am an individual and professional developer who is holding always 100% completion rate.. Mais

$150 USD in 3 dias
(7 Comentários)
2.9