How do I know that id is an integer? Probably is but I don't think that you can tell from the code. If it is an integer and is never going to change to a string then you are right making it an int will be faster.
can't remember ever seeing an id that wasn't an integer
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.
One submit button for multiple pieces of data
in PHP Coding Help
Posted
can't remember ever seeing an id that wasn't an integer