Posts by Alan Vinícius • 13 points
3 posts
-
0
votes2
answers234
viewsA: How to read a string within an array?
Step 1 - Create a PHP page that reads the string (Raw form) in the database, save to a variable (Ex.: $datas) and "return" that string. Note: The "return" I’m talking about is NOT done with return…
-
0
votes3
answers76
viewsA: How to judge all typed numbers? Only the latter is being judged and displayed
Direct answer: You have to check if the number is prime before updating the variable num. ... When your first for is executed, it keeps reading numbers and saving in the variable num. However, when…
canswered Alan Vinícius 13 -
1
votes3
answers285
viewsA: Give Hide/Show and show only contents of the clicked item
I don’t know if the guys have answered yet, so I’ll leave my contribution. I believe the solution below is simpler, cleaner and easier to understand/program. There is no need for ifs or tests in…