Hello Phalcon team <3
- $id = $request->getPost('id', 'int');
- OR
- $id = $request->getQuery('id', 'int');
-
- For example send post: 'NewYork'
-
- Returns: empty string
-
- For example send post: 'AER-#@SDS'
-
- Returns: '-'
-
- For example send post: '12-213'
-
- Returns: '12-213'
Int filtering not removing " - " this symbol...
Who can explain this why?