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 Link to comment https://forums.phpfreaks.com/topic/39380-solved-mysql_distinct/ 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". Link to comment https://forums.phpfreaks.com/topic/39380-solved-mysql_distinct/#findComment-189947 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'); Link to comment https://forums.phpfreaks.com/topic/39380-solved-mysql_distinct/#findComment-189950 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 Link to comment https://forums.phpfreaks.com/topic/39380-solved-mysql_distinct/#findComment-189952 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 Link to comment https://forums.phpfreaks.com/topic/39380-solved-mysql_distinct/#findComment-189955 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.