added the file sql_functions.php

now it is possible to start to develop the drupal indipendent library