jbrill Posted July 17, 2007 Share Posted July 17, 2007 If i have <? if (eregi('dlr',$PHP_SELF)) { ?> how can i add, "supplier" beside "dlr" Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted July 17, 2007 Share Posted July 17, 2007 Try this: if (eregi('dlr',$PHP_SELF) || eregi('supplier',$PHP_SELF)) EDIT: Also, I think you are looking for $_SERVER['PHP_SELF'] rather than $PHP_SELF. Quote Link to comment Share on other sites More sharing options...
jbrill Posted July 17, 2007 Author Share Posted July 17, 2007 you are a life saver! thank you ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.