Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

fURL Documentation Error

posted by ihumanable 9 years ago

In the fURL Documentation there is a section that talks about the fURL::removeFromQueryString() function, but the sample code after that is as follows:

// The following code assumes the query string is: example=one&example_2=false
 
// $new_qs would end up being: example=one
$new_qs  = fURL::replaceInQueryString('example_2');

I assume this is supposed to say


// The following code assumes the query string is: example=one&example_2=false
 
// $new_qs would end up being: example=one
$new_qs  = fURL::removeFromQueryString('example_2');