Location: PHPKode > projects > O - OpenSource GroupWare > osgw/config/functions.php
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   @Authors:	Ryan Thompson(hide@address.com)

function query($sql, $conn)
	$query = mysql_query($sql, $conn);

		echo $sql;
		echo "<br>";
		echo mysql_error();
		echo "<br>";


$conn = mysql_connect($db_host, $db_user, $db_password);
mysql_select_db($db_name, $conn);
Return current item: O - OpenSource GroupWare