Posts by Felipe • 427 points
12 posts
-
3
votes1
answer440
viewsQ: Take the file path opened by the process name in C#
I have an application that works based on the client’s current process. I need to get the name of the file and its absolute path when opened. That is to say: If for example the client opens the…
-
0
votes1
answer824
viewsA: Quote problem in JSON
I solved the problem by installing php-mysqlnd: sudo apt-get install php5-mysqlnd sudo /etc/init.d/apache2 restart
-
-1
votes1
answer824
viewsQ: Quote problem in JSON
I’m running an application that reads a JSON result. I recently changed my server and noticed that the application stopped working. After several tests I found that my new server put quotes in some…
-
10
votes3
answers2642
viewsQ: Receive array and record multiple lines in Mysql
I have the following HTML form: <h2>Sessao 1</h2> <input type="text" name="ipl[]" class="span12 "> <input type="text" name="spot[]" class="span12 "> <input type="text"…
-
1
votes2
answers682
viewsQ: Merge results and cross with another table
I have two tables in Mysql: table_schedules: id - tratamentos 1 - 1 2 - 1,2,3 3 - 2,3 table_treatments: id - nome 1 - Facial 2 - Corporal 3 - Outros I want to make a query where I can return the…
-
1
votes3
answers805
viewsA: Does not add values
Apparently I managed to solve it with "parseint". var startField = $dialogContent.find("input[name='newdate']").val(); var duracao = $dialogContent.find("input[name='duracao']").val();…
-
2
votes3
answers805
viewsQ: Does not add values
I’m trying to add two values, for example: a = 400; b = 200; I try the sum through "a + b", however instead of jQuery returning me "600" it returns me "400200". The real code is this: var startField…
-
1
votes2
answers58
viewsA: "DD/MM/YYYY - HH:SS" for "milliseconds"
var dateString = $('21/09/2014 - 18:22'), dateArgs = dateString.match(/\d{2,4}/g), year = dateArgs[2], month = dateArgs[1], day = dateArgs[0], hour = dateArgs[3], …
-
1
votes2
answers58
viewsQ: "DD/MM/YYYY - HH:SS" for "milliseconds"
I’m using the datetimepicker Bootstrap and need to convert the result to "milliseconds". Currently the result comes out: "dd/mm/yyyy - hh:ss" and I need it in "milliseconds". What’s the best way?…
-
7
votes2
answers468
viewsQ: What is the equivalent of if($_POST) on . Net (ASP.Net MVC)?
I’m coding a page in Visual Studio, in ASP.Net MVC and I need to display one div only when there is a POST on this page. This is a form that will make the POST on the page itself. When POST, I will…
asp.net-mvcasked Felipe 427 -
2
votes2
answers2042
viewsQ: jQuery: Show/Hide DIV inside a specific element
I have a question in jQuery: I have the following code inside a page, where the DIV "Description-img" repeats itself more than once: <div class="description-img"> <div class="confirmacao"…
-
4
votes1
answer85
viewsQ: Problem in Mysql query
I’m having a problem with a Mysql query. In it I have 3 tables I need to cross: Table "drawing": id concurso_id customer_id Table "competition": id titulo criterioDiasCorridos criterioNotaMedia…