I need help with the ereg() function in php..
Please help me make the code..
I have a variable which can contain a character or numbers..
I want to check if the variable only has numbers...I need to do this because I will pass this to a function in postgresql query..
I'm not well versed with the ereg() function so pls. help me..
How do I do this?