Posts by Jefferson Rodrigues • 36 points
4 posts
-
0
votes2
answers1272
viewsA: Store all records of a table in a variable (PHP)
Goal: echo $dadosBrutos; Solution made with implode() in arrays resulting from the query. I tried to make the code as simple as possible. If you did not want to use $result as a function parameter,…
-
0
votes4
answers836
viewsA: Quote at the beginning and end of each number
You can use explode() function colocaAspas($n){ return "'".$n."'"; } $seq = "123,456,789"; $seq = array_map('colocaAspas', explode(',', $seq)); var_dump($seq);…
phpanswered Jefferson Rodrigues 36 -
0
votes3
answers76
viewsA: How to Save to Seekbar Android Sqlite Value Database
"I’m trying to register values in the database" You can use Shared Preferences for simple data and in small quantities. Ex.: Persisting simple data with Sharedpreferences If you need to save a…
-
2
votes2
answers64
viewsA: What kind of database to use and how not to create many activities?
What database type to use? "this bar code will lead to a screen on the medicine" I recommend creating a API, by easy data editing, security, and avoid occupying unnecessary space on users devices.…