Função para Deletar PHP usando XML
$30-250 USD
着払い
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.
プロジェクトID: #5296780
プロジェクトについて
アワード:
Hello, I am available right now for work. Do you want a textbox to select the id, or just receive it by parameter?