Search found 5 matches
- Wed Mar 23, 2011 5:08 pm
- Forum: PHP - Code
- Topic: Populating an array through traversed XML
- Replies: 1
- Views: 218
Re: Populating an array through traversed XML
as always I tend to stumble across the answers minutes after asking for help.... $RecordsXML = array(); for ($i=$first; $i<$last; $i++) { $XML1 = $records->item($i)->getElementsByTagName("businessName"); $XML1result = $XML1->item(0)->nodeValue; $XML2 = $records->item($i)->getElementsByTagN...
- Wed Mar 23, 2011 4:41 pm
- Forum: PHP - Code
- Topic: Populating an array through traversed XML
- Replies: 1
- Views: 218
Populating an array through traversed XML
hello all, I have been struggling with this for hours now so really hope you can help. I have an XML file which is created through aggregation of results from a MySQL DB and a SqlServer DB, and to create pagination on my page, I need to traverse this XML document and create a NEW XML file with just ...
- Tue Mar 08, 2011 10:42 am
- Forum: PHP - Code
- Topic: POST from dynamically generated buttons
- Replies: 2
- Views: 199
Re: POST from dynamically generated buttons
Thanks for the suggestion! I managed to get it working though, as I had failed to close the Forms within the loop, so they were all essentially submitting the same information. for ( $i = 0 ; $i < mysql_num_rows($result) ; $i++ ) { ?> <div id = "middleBox"> <form action="deleteImage.p...
- Mon Mar 07, 2011 12:25 pm
- Forum: PHP - Code
- Topic: POST from dynamically generated buttons
- Replies: 2
- Views: 199
POST from dynamically generated buttons
Hello! I am working on a page that queries a DB for image details and displays them with their own dynamically generated Delete button, but I am struggling with handling the POST from the buttons.. The page "works" in so much as the content is generated correctly, but I cant find a way to ...
- Fri Mar 04, 2011 10:20 am
- Forum: PHP - Code
- Topic: Consuming .Net web service with php
- Replies: 0
- Views: 161
Consuming .Net web service with php
Hey there! My first post here so please be gentle =) For a Uni project, I have to consume .net web services in php.. the web service is active and works just fine in testing (currently its just the Hello world service!), but when I try to access it from my php script, I get errors. c# web service: [...