Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Handling File Data with PHP (Reading & Seeking)
Dec 01, 2011 @ 16:09:14

DevShed has posted the fifth part of their "handling files in PHP" tutorial series today (excerpted from the book "Beginning PHP and PostgreSQL 8: From Novice to Professional") with a focus on read from multiple places in a file to get to different data.

In this fifth part of an eight-part series on working with file and operating systems with PHP, you'll learn how to read data from a file and move the file pointer.

Example code is included showing how to use the file, file_get_contents, fgetc, fgetcsv, readfile and fscanf (among several others). Also included is code showing how to use the fseek method to move around in a file.

tagged: tutorial file handling read seek move

Link:

DevShed:
Additional Methods for Using SQLite with PHP 5
Dec 18, 2006 @ 21:12:00

DevShed continues their series covering SQLite in PHP5 today with the final tutorial - "Additional Methods for Using SQLite with PHP 5":

The list of additional features offered by SQLite is really impressive. Therefore, in this last article of the series, I'll be taking an in-depth look at them. This will complete our analysis of this excellent RDBMS integrated with PHP 5.

First up is a look at the usage of the seek and lastInsertRowid functions followed by the changes and queryExec methods. They show how to use the createFunction method and show one of the more advanced features of SQLite - creating a database that only exists in the server's memory.

tagged: method tutorial sqlite php5 seek changescreatefunction memory method tutorial sqlite php5 seek changescreatefunction memory

Link:

DevShed:
Additional Methods for Using SQLite with PHP 5
Dec 18, 2006 @ 21:12:00

DevShed continues their series covering SQLite in PHP5 today with the final tutorial - "Additional Methods for Using SQLite with PHP 5":

The list of additional features offered by SQLite is really impressive. Therefore, in this last article of the series, I'll be taking an in-depth look at them. This will complete our analysis of this excellent RDBMS integrated with PHP 5.

First up is a look at the usage of the seek and lastInsertRowid functions followed by the changes and queryExec methods. They show how to use the createFunction method and show one of the more advanced features of SQLite - creating a database that only exists in the server's memory.

tagged: method tutorial sqlite php5 seek changescreatefunction memory method tutorial sqlite php5 seek changescreatefunction memory

Link:


Trending Topics: