Jump to content

[SOLVED] search into a string


Minase

Recommended Posts

hy there i was wondering how to do a string search

i do have a function which retrive user permision from DB

i was wondering how i can use if syntax to make some rules

the permision are from a..g

one user may have no permision,and the other one may have full

 

i need something like

 

if (Permision2($user->ID) == "%b%") {

echo something

}

 

thanks

 

Permision2($user->ID);

 

 

Link to comment
https://forums.phpfreaks.com/topic/128260-solved-search-into-a-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.