darktimesrpg Posted February 20, 2007 Share Posted February 20, 2007 What is the modern replacement of mysql_distinct? I'm working with some old code and need a replacement Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 20, 2007 Share Posted February 20, 2007 Must be very old, because the manual says it can't find it. Are you talking about the MYSQL keyword DISTINCT? It's "modern". Quote Link to comment Share on other sites More sharing options...
darktimesrpg Posted February 20, 2007 Author Share Posted February 20, 2007 Nope, in the code it has an array = mysql_distinct(yada,yada,yada FROM yaya WHER yada = 'yada'); Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 20, 2007 Share Posted February 20, 2007 I think it is a custom defined function...although I've had bad luck with the manual today, I know it's not in there: http://us3.php.net/mysql Quote Link to comment Share on other sites More sharing options...
darktimesrpg Posted February 21, 2007 Author Share Posted February 21, 2007 I'll have to check the old functions.php file Thanks anyway Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.