PHP help
PHP help
Out of context: Reply #3
- Started
- Last post
- 5 Responses
- chl0
You can always just cast it. If the variable is called $foo, do a line like this.
$foo = (int) $foo;
Should be what you want.
You can always just cast it. If the variable is called $foo, do a line like this.
$foo = (int) $foo;
Should be what you want.