PDA

View Full Version : AWS article - PHP is missing



InfiniteFire
03-17-2004, 08:32 AM
in the AWS article, it says:


* $d_ar and $i_ar, now we can loop through
* the arrays to display the data on our website:
*/

for($i=0; $i
if($d_ar[$i_ar['Details'][$i]]['t

-- the second and third arguments for the first for loop are missing! what is meant to go here?

GCT13
03-17-2004, 09:01 AM
Hi InfiniteFire,

Here is the code for the for loops:

for($i=0; $i<count($i_ar['Details']); $i++) {
if($d_ar[$i_ar['Details'][$i]]['type']=='open') {
for($j=$i_ar['Details'][$i]; $j<$i_ar['Details'][$i+1]; $j++)It looks like a "<" character was not converted into html code, which was why it did not display properly. (If you view source you can see the code.)

I'll alert the editor to get this fixed. Thanks for posting and sorry for any inconvenience,

Dan