PHP Classes

Oops! Typo.

Recommend this page to a friend!

      Online zip modifier  >  All threads  >  Oops! Typo.  >  (Un) Subscribe thread alerts  
Subject:Oops! Typo.
Summary:Typo in example 2
Messages:2
Author:Stephen Lance
Date:2009-03-26 17:41:07
Update:2009-03-26 18:03:02
 

  1. Oops! Typo.   Reply   Report abuse  
Picture of Stephen Lance Stephen Lance - 2009-03-26 17:41:07
The line in your foreach loop in example2.php should be this:
echo "The contents of {$filea['name']}:\n{$filea['data']}\n\n";
NOT this:
echo "The contents of {$filea['name']}:\n{$file['data']}\n\n";

This one little character stops the script from showing the file contents.
Just thought I'd let you know.

-Stephen
litlurl.net/

  2. Re: Oops! Typo.   Reply   Report abuse  
Picture of M H Rasel M H Rasel - 2009-03-26 18:03:03 - In reply to message 1 from Stephen Lance
Thanks for the addition..............