
January 25th, 2002, 05:26 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Re: Re: display nice data if it is avalible
To see an example of nicely formatted results look at this:http://www.wisemangrafix.com
To answer your question, you need to access each record in '$result["rawdata"]'
Here is the code to format each result ::
$iPosition=0; //set initial position to 0
$ii=count($result["rawdata"]); //get # of records in "rawdata"
for ($iPosition=0;$iPosition<$ii;$iPosition+=1){ //do the following for each record
Print "<TR><TD class=\"lightTD\" align=\"left\">"; //begin format for each record
echo $result["rawdata"]["$iPosition"]; //display each record
Print "</TD></TR>"; //end format
} //end for
|