Function call reult in a WHERE-IN clause

2008-12-17 Thread Cantwell, Bryan
I have a function that I built that returns a string that is really a comma separated list of values (below). I would like to use that returned value in an IN clause in sql. : select * from hosts where hostid in (getHosts(10014)); The function: CREATE FUNCTION getUserHosts(userID

Re: Function call reult in a WHERE-IN clause

2008-12-17 Thread ceo
Perhaps pass in a separator string arg, default to '' and do: GROUP_CONCAT(DISTINCT h.hostid, separator) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org

function call ????

2002-06-29 Thread toby -
hi guyz how do i call a phpfile into another phpfile like i wanna call cat_disply.php from within article.php so dat it displays all the categories WHERE im giving it a call now i did this in c/c++ i CALLED files as i call functions but is this possible in php ? thnx a million

RE: function call ????

2002-06-29 Thread Cal Evans
PROTECTED] Subject: function call hi guyz how do i call a phpfile into another phpfile like i wanna call cat_disply.php from within article.php so dat it displays all the categories WHERE im giving it a call now i did this in c/c++ i CALLED files as i call functions but is this possible