Jump to content

Number 1 Not Equal To Number 01


johnnyd1963

Recommended Posts

Hi

i have the following proplem

 

I put in a table the following nummber 01 with a form

if i want put in nummber 1 without zerro before

i have the massege when i check the post is equal to the nummber in the table that these are the same

 

the column in the table is VARCHAR

 

how can i tell in php that 01 not is the same as 1 and visa versa or 02 not the same as 2

 

thanks in advice John

Link to comment
https://forums.phpfreaks.com/topic/269994-number-1-not-equal-to-number-01/
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.