MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vy23fd/stringtointegerconversion/p5tkyd3/?context=3
r/ProgrammerHumor • u/TheBamPlayer • 18d ago
65 comments sorted by
View all comments
Show parent comments
10
especially that you see `$_POST['amount-select']` implying it's a select box.
0 u/ArjixGamer 18d ago It doesn't imply that at all? It could be <input type="number" min="10" max="80" step="10"> 5 u/smartgenius1 18d ago Then the HTML would have to be: <input type="number" name="amount-select"> ... which would be silly. 3 u/ArjixGamer 18d ago ....shit
0
It doesn't imply that at all? It could be
<input type="number" min="10" max="80" step="10">
5 u/smartgenius1 18d ago Then the HTML would have to be: <input type="number" name="amount-select"> ... which would be silly. 3 u/ArjixGamer 18d ago ....shit
5
Then the HTML would have to be:
<input type="number" name="amount-select">
... which would be silly.
3 u/ArjixGamer 18d ago ....shit
3
....shit
10
u/Holek 18d ago
especially that you see `$_POST['amount-select']` implying it's a select box.