Changeset 284 for trunk/includes/global.php
- Timestamp:
- Dec 11, 2009, 11:41:03 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r283 r284 305 305 } 306 306 307 function GetQueryStringArray($QueryString) 308 { 309 $Result = array(); 310 $Parts = explode('&', $QueryString); 311 foreach($Parts as $Part) 312 { 313 if($Part != '') 314 { 315 $Item = explode('=', $Part); 316 $Result[$Item[0]] = $Item[1]; 317 } 318 } 319 return($Result); 320 } 321 322 function SetQueryStringArray($QueryStringArray) 323 { 324 $Parts = array(); 325 foreach($QueryStringArray as $Index => $Item) 326 { 327 $Parts[] = $Index.'='.$Item; 328 } 329 return(implode('&', $Parts)); 330 } 331 307 332 ?>
Note:
See TracChangeset
for help on using the changeset viewer.