Posts by Alexandre Neves • 5 points
4 posts
-
0
votes2
answers2939
viewsQ: How to change from mysql_real_escape_string to mysqli_real_escape_string();?
I am creating a simple php login page based on in this video. However, after doing exactly as the video describes, I learned that my PHP version has updated and it is no longer possible to use the…
-
0
votes2
answers146
viewsQ: How to associate items from a String list to the code name of a C#label?
My goal is to play a hangman’s game. Basically my problem is this: I have a word divided into substrings for each letter of the word, all stored in an array. For example: string[] letras = new…
-
0
votes1
answer68
viewsQ: How to split a file line without using Substrings in C#?
I created a file where I store data row by row as morada|nome|telefone|nif, that is, each variable saved in the file is divided by |. I remember there being a method of dividing this line into 4 to…
-
-2
votes1
answer714
viewsQ: How to read text files?
I want to read the lines of a file and then add them to a Listbox. public void subroutine() { string linha; try { using (StreamReader read = new StreamReader(Application.StartupPath + "workers.txt",…
c#asked Alexandre Neves 5