Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Understood. It wasn't provided in the example, because it is not a user-entered item and is rarely displayed on the screen. It is typically an index. In other cases (perhaps) because people who originally wrote it knew no better.

(There is a lot if "isnumeric()" stuff used around $id. I inherited this codebase.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: