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" Link to comment https://forums.phpfreaks.com/topic/60419-solved-how-do-i-add-to-this/ 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. Link to comment https://forums.phpfreaks.com/topic/60419-solved-how-do-i-add-to-this/#findComment-300549 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 ! Link to comment https://forums.phpfreaks.com/topic/60419-solved-how-do-i-add-to-this/#findComment-300551 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.