Jump to content

ttpparker

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

ttpparker's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Never mind, I got it working. Thanks anyway.
  2. I am trying to parse the following XML using simplexml_load_string. <?xml version="1.0" encoding="utf-16"?> <rialtowebordersresponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ReturnStatus="1" xmlns="http://schemas.redarrow.co.uk/rialto"> <orders /> <errors> <error OrderNo="BSTN4" ErrorCode="10010" ErrorMessage="Order already added" /> </errors> </rialtowebordersresponse> When I var_dump the variable I just get: bool(false). Anyone have any ideas why? Thanks Tony
  3. Im trying to work out a "power to" equation (x to the power of y). I am using the following while loop. while($counter < $TermDays) { $Daily2Worker = $Daily2Worker * $TermDays; $counter = $counter + 1; } This runs 1500 times, the script executes fine but when I output the value $Daily2Worker I get "NaN". If i reduce the number of times the loop runs it works fine. Can anyone help or suggest an alternative way of performing a to the power of calculation.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.