NAVIGATION
This shows you the differences between two versions of the page.
|
english:technics:internal-function-call:db_query_using_function_dbquery [2010/10/14 06:17] Knut Heermann (flip-flop) |
english:technics:internal-function-call:db_query_using_function_dbquery [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 220: | Line 220: | ||
| // --- The better way | // --- The better way | ||
| if ( in_array( strtoupper($input), $allowed_input_selector) ) { | if ( in_array( strtoupper($input), $allowed_input_selector) ) { | ||
| - | $select_continent_code = $matches['1']['0']; | + | $select_continent_code = aporeplace(trim($matches['1']['0'])); |
| $error_flag = false; | $error_flag = false; | ||
| } | } | ||
| Line 300: | Line 300: | ||
| </note> | </note> | ||
| + | |||
| + | **Links:** | ||
| * [[http://php.net/manual/de/function.preg-match.php|PHP preg_match]] | * [[http://php.net/manual/de/function.preg-match.php|PHP preg_match]] | ||
| * [[http://www.php.net/manual/de/function.preg-replace.php|PHP preg_replace]] | * [[http://www.php.net/manual/de/function.preg-replace.php|PHP preg_replace]] | ||