Posted By

cochambre on 06/30/06


url remove return querystring without parameter variable

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Devuelve el Querystring sin un parametro indicado

 / Published in: PHP

  1. function querystringWithoutParameter($parametro){
  2. return preg_replace('/[\&\?]+'.$parametro.'=[^\&]*/','',$_SERVER['QUERY_STRING']);
  3. }

Report this snippet  

You need to login to post a comment.