Home
Name Modified Size InfoDownloads / Week
PHP_basic_Class.htm 2010-12-16 9.7 kB
readme.txt 2010-12-16 699 Bytes
Basic_class.inc 2010-12-16 6.0 kB
Totals: 3 Items   16.3 kB 0
PHP basic class

This class is basically used for facilitating getting database records from server.

In my early years I used ColdFusion. Its database extraction function is superb. You just use the following function to set the query.

<cfquery name="myq" datasource="xx" username="myuser" password="pwd">
	select ...
</cfquery>
<cfoutput query="myq">
	<td>$myfield$</td>
</cfoutput>

It is simple short and clean.

PHP does not have such utility. It ended up we have to discretely define the full connection and query routine.

This class tries to simplify things a bit. There are three functions that you could use.

For examples and usage of the class see php_basic_class.htm
Source: readme.txt, updated 2010-12-16