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

Devshed:
Database Details and PHP
Jun 28, 2007 @ 17:12:00

DevShed continues their tutorial series looking at working with PHP and databases today with more excerpted material from the O'Reilly book "Programming PHP, Second Edition" (by Kevin Tatroe, Rasmus Lerdorf, and Peter MacIntyre).

Picking up from where we left off last week, we'll be discussing shortcuts, query responses, metadata, and more.

They start off looking at shortcuts, those handy things the PEAR DB package offers to make life simpler (like getRow and getAssoc) before moving on to how to get the details about the response itself (like affectedRows and tableInfo). Next up is working with the metadata (using getListOf) and, finally, a sample application to tie them all together.

tagged: database tutorial metadata detail query response database tutorial metadata detail query response

Link:


Trending Topics: