wrote this file. * As long as you retain this notice you can do whatever you want with this * software. If we meet some day, and you think this stuff is worth it, you can * buy me a beer in return. * Sandino Araico Sánchez * --END LICENSE--------------------------------------------------------------- * --LICENCIA EN ESPAÑOL MEXICANO---------------------------------------------- * "LA LICENCIA BEER-WARE" (traducción al español de la revisión 42-sandino-3): * Sandino Araico Sánchez escribió éste archivo. * Siempre y cuando usted retenga éste aviso (en español y en inglés) usted * puede hacer cualquier cosa con éste software. Si algún día nos encontramos y * usted piensa que éste software vale la pena, usted puede invitarme una * cerveza en recompensa. * Sandino Araico Sánchez * --FIN DE LICENCIA----------------------------------------------------------- */ # Changelog: # 2002-01-05 Sandino Araico Sánchez - DB neutral functions if(!defined("__HOPP_DB_NEUTRAL")) { define("__HOPP_DB_NEUTRAL",1); #---------------------------------------------------------------------------- function hopp_db_get_null_value($value) { return $value==''?'NULL':"'$value'"; } function db_substr_encoded($string,$size) { return substr(rawurlencode($string),0,$size); } function db_clean_apostrophe($string) { return str_replace("'",'',$string); } #---------------------------------------------------------------------------- } // __HOPP_DB_NEUTRAL ?>