Posts by Luiz Santos • 3,162 points
113 posts
-
2
votes1
answer43
viewsA: How do for my list shows only the items you have user_id={$_SESSION['id']
I believe that adding an if before printing the table will solve your problem. Assuming the Taf record has within it the value of the user id: foreach ($tarefas as $taf ) { if($taf->usuario_id ==…
phpanswered Luiz Santos 3,162 -
0
votes1
answer75
viewsA: How to change Backgroundimage location in windows Forms
The control of the image is very limited, what I’ve researched that can be done is to override the image drawing event like this: private void myButton_Paint(object sender, PaintEventArgs e) {…
-
4
votes2
answers1051
viewsA: Know if you are really a Cdn server
You can use the command host in cmd with the site name: host -a www.visitbritain.com He will return: www.visitbritain.com. 0 IN CNAME d18sjq5nyxcof4.cloudfront.net. We can see that the site uses…
cdnanswered Luiz Santos 3,162 -
0
votes2
answers136
viewsA: Null Result Coming in query
You can use the coalesce SELECT COALESCE(Title,'OUTROS'), SUM(Count) AS Count FROM ( SELECT CASE WHEN EstadoId = EstadoIdAutor AND EstadoId = Meddoc1 AND EstadoId = Meddoc2 AND EstadoId = Meddoc3…
-
0
votes2
answers99
viewsA: Doubt REST - POST
Question returned in the comment by Sergio: Do you want to take that data on the server or client? If it is on the client Axios returns a file, then you can do it . then(res =>…
-
0
votes2
answers401
viewsA: Simultaneous calls in Restful service
Hello, To make several calls you needed to use both await and async. Otherwise the requests were waiting for the next. As informed by William you can learn about here:…
-
0
votes1
answer239
viewsA: caption marker google maps
The manipulation of texts in mark is very complex and limited. I found no way to do this, except by using the markerwithlabel library. Using the same simply create the markwithlabel: js: marker =…
-
1
votes2
answers249
viewsA: Input elements outside the tag form
It is not considered a bad practice no, as long as it manages a good interface and makes sense. For example a data reset button, or clear a feed, may be out of form. More information:…
htmlanswered Luiz Santos 3,162 -
2
votes1
answer39
viewsA: Access SQL Server 2008 data from Mysql
No, you cannot do this kind of access, you can use ODBC, but you will need to install the right drive. It is important to understand that the client must understand the protocol.
-
-1
votes1
answer475
viewsA: Problem with string to decimal conversion c#
Alexssandro, Your code should work without problem, I tested the same: This problem may be with your computer’s location setting. Your code is right.…
c#answered Luiz Santos 3,162 -
2
votes2
answers1704
viewsA: Take PHP variable and display in input
The above answer is very good and will work perfectly. If your idea is something simpler, because from what I understand you are starting your studies, you can put all the data on one page…
-
2
votes1
answer576
viewsA: How to change the color of multiple textbox by looking at only one condition
It is possible to catch all the textbox using this function: foreach (Control c in Controls) { TextBox tb = c as TextBox; if (tb != null) { //Sua Logica } } Just insert your logic into the block, it…
-
2
votes1
answer247
viewsA: How to encrypt to a . txt file in Windows Forms C#?
You can do the following function: Encode public static string Base64Encode(string plainText) { var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText); return…