Posts by Hendrig Wernner • 146 points
9 posts
-
0
votes2
answers2101
viewsA: Checking if registration already exists in the database
The section where informs the success of the inclusion must be within the Else block. In the question code this excerpt is outside of Else, so it always shows the message.
-
1
votes2
answers114
viewsA: If it doesn’t fit in the div, show: more x results
Create a variable that tells you how many items your result array has and another variable to tell you how many items you’ve shown on the screen. When iterating to show names use an if to show only…
-
1
votes3
answers149
viewsA: Find a certain number inside a mysql string
Use the section below. It will consider commas as separators. $sql = 'SELECT `ativos` from `produtos` /*Separadores no meio da sequência */ WHERE `ativos` LIKE '%," . $id . ",%' /*Separadores no…
-
0
votes2
answers161
viewsA: Oracle DB and MVC 4 showing ORA-06413 error
I think I found the problem. I was testing a project that was a console application, using the same dll as the Oracle database access to this topic problem. The file . csproj was set as below:…
-
1
votes4
answers492
viewsA: Orable DB and MVC 4 - Connection error (ORA-06413)
I think I found the problem. I was testing a project that was a console application, using an Oracle database access dll identical to the one in the problem. The file . csproj was set as below:…
-
6
votes4
answers2530
viewsA: What are Traffic Lights in Programming?
In simple terms, a semaphore is an indication in the code that some resource (can be an object, a function, etc...) is being used. Think of it this way: I have a function that makes writing on an SD…
-
1
votes2
answers7095
viewsA: Open message window inside html page
Probably what you want to do is a modal. With bootstrap you can make it easy. Example here: http://getbootstrap.com/javascript/#modals Here is an example of how it works: Jsfiddle…
-
1
votes2
answers220
viewsA: Return Jquery data within Input
I think if you do something like $("#nome").val(data[nome]); works, but I’m not sure what the return of its function is.
-
1
votes2
answers161
viewsQ: Oracle DB and MVC 4 showing ORA-06413 error
I’m having a problem very similar to this one. To summarize, I have an application that runs with ASP.NET MVC 4, using . NET Framework 4.0, using the same DLL of access to Oracle,…