Language:

Search

Validate only Numbers in PHP

  • Share this:
post-title

Validate only Numbers in PHP ...


$var = 123
is_numeric($var); // it will return true or false

Ammar Javed

Ammar Javed

Still Learning | Still Searching | Still Exploring | The secret of your success is determined by your daily agenda.