7 sep 2011 kl. 16.21 skrev Ron Piggott:
>
> Hi Everyone
>
> I am trying to load an HTML book into mySQL. The book was distributed with
> each chapter being it’s own HTML file.
>
> The only way I know how to open a file is by specifying the file name. Such
> as:
>
> $myFile = "B01C001.htm";
On 07 Sep 2011 at 15:21, Ron Piggott wrote:
> Hi Everyone
>
> I am trying to load an HTML book into mySQL. The book was distributed with
> each chapter being it’s own HTML file.
>
> The only way I know how to open a file is by specifying the file name. Such
> as:
>
> $myFile = "B01C001.htm";
>
On Wed, Sep 7, 2011 at 10:21 AM, Ron Piggott wrote:
>
> Hi Everyone
>
> I am trying to load an HTML book into mySQL. The book was distributed with
> each chapter being it’s own HTML file.
>
> The only way I know how to open a file is by specifying the file name.
> Such as:
>
> $myFile = "B01C00
On 7 Sep 2011, at 15:21, Ron Piggott wrote:
> Hi Everyone
>
> I am trying to load an HTML book into mySQL. The book was distributed with
> each chapter being it’s own HTML file.
>
> The only way I know how to open a file is by specifying the file name. Such
> as:
>
> $myFile = "B01C001.htm";
Why don't u solve it by iterating through all files and getting their filenames
and then execute your file?
> From: ron.pigg...@actsministries.org
> To: php-general@lists.php.net
> Date: Wed, 7 Sep 2011 10:21:18 -0400
> Subject: [PHP] Opening Multiple Files
>
>
> Hi
Hi Everyone
I am trying to load an HTML book into mySQL. The book was distributed with
each chapter being it’s own HTML file.
The only way I know how to open a file is by specifying the file name. Such as:
$myFile = "B01C001.htm";
$lines = file($myFile);
foreach ($lines as $line_num => $theD
6 matches
Mail list logo