Re: [PHP] Rewriting string

2011-01-13 Thread Admin
Try this. After you create the array If(in_array($_GET['page'],$categorys)){ }else{ } Sent from my iPhone On Jan 13, 2011, at 5:09 AM, David McGlone wrote: > Hi everyone, > > I think the subject is right, or somewhere close. Anyway I am trying to > perform a little trickery here with li

[PHP] Rewriting string

2011-01-13 Thread David McGlone
Hi everyone, I think the subject is right, or somewhere close. Anyway I am trying to perform a little trickery here with links. In the following code you can see where I am trying to replace the link on the current page so it's not a link when on that page. I think I got the general idea of wha