DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php get only numbers
$str = 'In My Cart : 11 items'; $int = (int) filter_var($str, FILTER_SANITIZE_NUMBER_INT);
PREVIOUS
NEXT
Tagged:
#php
#numbers
ADD COMMENT
Topic
COMMENT
Name
8+5 =
Submit