hi can i do a query in a udf? if so how? if not then it's more complicated: i want for security reason that a certain user make a query to the database and receive the result, but i don't want the user to modify the query except the where field=variable, so i want to create a function that do the query with the variable given by the user... if it's impossible, can you restrict a user to only 1 query that he cannot modify? Danny --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php