db_query PHP function for ddbb queries with ADOdb Library


/ Published in: PHP
Save to your folder(s)

A PHP function to get a Record Set using ADOdb Library.

It takes the (SQL) query as an argument. For SELECT,UPDATE and DELETE queries.

It also need next variables: $db_host,$db_user,$db_passwd,$db_name (data from de bbdd connexion). Can be declared in the document itself.

It returns the Record Set.

It needs the ADOdb Library for php.

URL: http://phplens.com/adodb/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.