cleanair4me
Technical User
- May 16, 2008
- 61
I am not familiar with PHP terminology and trying to understand the below:
if(isset($_GET['myWord']) && isset($_GET['letters']))
isset means has the value been defined and is not null?
$letters = preg_replace("/[^a-z9 ]/si","",$letters);
preg_replace is a pattern match method that has 3 arguments where first is the reg expression match, second is the replacement and third argument is the variable?
if(isset($_GET['myWord']) && isset($_GET['letters']))
isset means has the value been defined and is not null?
$letters = preg_replace("/[^a-z9 ]/si","",$letters);
preg_replace is a pattern match method that has 3 arguments where first is the reg expression match, second is the replacement and third argument is the variable?