check if a String Contains a Substring in PHP
Hey I am trying to change a state of an object in PHP based on its previews state. the state itself is a string and the state can be 4 states: published, published assigned, displayed, displayed assigned. if the state is published it cant go back to displayed but it can go between assigned and not assigned.
How to remove an email character @ from a string using PHP
I have tried to remove an email sign which is @ from a string like this: