Guest User

Untitled

a guest
Jun 14th, 2012
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. search certain characters in an if statement
  2. if($x == "what is the code needed to be placed here to search if SGA is present?")
  3. {
  4. .some code..
  5. }
  6. else
  7. {
  8. .some code..
  9. }
  10.  
  11. if (strpos($fieldFromDatabase,'SGA')!==false) {
  12.  
  13.  
  14. } else {
  15.  
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment