Jump to content

question


Ninjakreborn

Recommended Posts

Is there a way for me to test something. like if I have an input, I need to make sure it's a number, I can do this with
is_number($variable);
it will tell me if it's a number, that's easy, but then I have to check to see if it's got the $ symbol in front of it, if it doesn't then I need to put one there, if it does then I need to leave it alone, how can I do this???
Link to comment
https://forums.phpfreaks.com/topic/21451-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.