Jump to content

Spunge

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Spunge's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks, but I'm still having problems. I've got to be missing something... No matter what I do, it's thinking zero is either not a number, or that the form is empty.
  2. I'm working on a small calculator script for personal use, and I'm having problems with limiting the input to only numbers. This is what I have: [code]elseif ((! is_numeric($a)) || (! is_numeric($b)) || (! is_numeric($c))) { echo " Please enter only numbers.";}[/code] It will filter out letters, but it also filters out 0s, which is not what I'm after. Anyone know a potential solution to make this treat 0s as a normal number?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.