FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » rdf.php accept multiple cat arguments
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: rdf.php accept multiple cat arguments [message #16412 is a reply to message #16401] Wed, 28 January 2004 23:00 Go to previous messageGo to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma:
Senior Member
Error in CVS:

function multi_id($data)
{
	$list = explode(',', $data);
	$out = array();
	foreach ($data as $v) {
		$out[] = (int) $v;
	}
	return implode(',', $out);
}


Foreach references original argument and not $list. Should be:

function multi_id($data)
{
	$list = explode(',', $data);
	$out = array();
	foreach ($list as $v) {
		$out[] = (int) $v;
	}
	return implode(',', $out);
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: User list in admin panel
Next Topic: Multiple topic hits in RDF feed
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 06:27:07 GMT 2024

Total time taken to generate the page: 0.04508 seconds