06.03.2014, 07:36
That's debatable. Some like it, some don't. I personally prefer local variables to minimize the risk of accidentally overwriting something or sending the wrong output. But as AndreT said, go read ******' post about why you shouldn't use 256.
For example, your query is 56 characters long. The '%d' isn't sent to the output so we subtract 2. That makes 54 characters. The maximum length a number can be is 11, so we add that. That makes a query of at most 65 characters.
For example, your query is 56 characters long. The '%d' isn't sent to the output so we subtract 2. That makes 54 characters. The maximum length a number can be is 11, so we add that. That makes a query of at most 65 characters.