Jump to content

swingking

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

swingking's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. is there a simple way to convert... 12/4/2006 7:32:48 PM into 2006-12-04 19:32:48  ?? thanks!
  2. do you mean objects within objects?  my head is swirling!! I am so confused. would there be ANY way you can show me sample code to do this?  printf, your help is VERY appreciated!
  3. ok.  how do you take the information from an object and cycle through and parse the data?  sorry, I am a newbie in over it's head.
  4. I have been banging my head against the wall trying to pull out data from a returned array from the Hitslink API. here is the code that returns the data.... $params = array("account" => $username, // Create a wrapper array for SOAP params   "password" => $password,   "reportId" => $reportID,   "maxRows"  => $maxRows,   "chartHeight"  => $chartHeight,   "chartWidth"  => $chartWidth); // Instantiate the soapclient, pass it the WSDL location $client = new soapclient("http://www.hitslink.com/reportWS.asmx?WSDL");     // Call the GetData WS Function, parse and display to taste.     $return = $client->GetData($params);     I added this to display the data.... while (list ($key, $val) = each ($return->GetDataResult)) { echo "$key -> $val <br>"; } and here is the results displayed... Title -> Traffic History EndDate -> 2006-11-27T14:00:00 StartDate -> 2006-11-26T15:00:00 ChartURL -> www.hitslink.com/chartfx62/temp/cft1127_03300129f56.png ColumnDefinitions -> Object id #4 Rows -> Object id #11 What I want is the "Rows" data. how do I extract this info into an array? thanks! Mark dino432@yahoo.com
×
×
  • 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.