Posts by Douglas Öak • 110 points
8 posts
-
0
votes3
answers510
viewsA: How to make an error message for this situation?
Do an IF-ELSE. If the value returned from IF is false, the execution of the program jumps to the code block within ELSE, then within this code block you write the message display code. For example:…
-
0
votes1
answer41
viewsA: Protect memory address
Use the Windows documentation https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85). aspx BOOL WINAPI CreateProcess( _In_opt_ LPCTSTR lpApplicationName, _Inout_opt_ LPTSTR…
-
1
votes3
answers41
viewsA: Turn into function
Just turning your code chunk into a function: function getUserById ($userId) { $user = new User(); $resultado = mysqli_query($conexao, "select * from usuarios where id= {$userId}"); $dado =…
phpanswered Douglas Öak 110 -
0
votes1
answer57
viewsA: How to select memory file?
Try to transform in this format, which is for access to internal memory: Uri.fromFile(new File("/sdcard/Download/video.mp4")) or String filePath = getApplication().getFilesDir().getAbsolutePath() +…
-
1
votes2
answers749
viewsA: How to use Android Studio Interface Editor only?
"I changed the design extension from . axml to . xml and opened in Android Studio, I was able to open, but it doesn’t have the tips to type and has the visual design, which is what I wanted to see…
-
0
votes1
answer227
viewsA: Table for PHP Downloads
"I was thinking of creating a column in the user table, where it will list all the download ids that this user has, but Is that possible? If not, what would you do?" I don’t think it works, because…
-
1
votes1
answer991
viewsA: How to make Foreign key one-to-many in mysql?
First you create the COURSES Table with the column ID_CURSOS (PRIMARY_KEY), then you create a STUDENTS table with the column ID_ALUNOS (primary_key) and the column ID_CURSO. This column ID_CURSO you…
-
0
votes1
answer483
viewsQ: How to create client desktop application for database access without exposing security information?
I had already made web application with access to Mysql database via PHP and know that the configuration files for access to the database are on the server side, being returned only the necessary…