Posts by Diego Marquez • 320 points
17 posts
-
0
votes2
answers128
viewsQ: URL form sending nomenclature
Sending a form the result of the sent url is this: search.php? checkin=22%2F12%2F2017&checkout=10%2F01%2F2018 I’d like to keep it that way: search.php? checkin=16/08/2017&checkout=25/08/2017…
urlasked Diego Marquez 320 -
3
votes2
answers54
viewsQ: Adding value with Mysql
How do I add the values of the three selects below: ( SELECT (valor1 + valor2 + valor3) AS total SELECT SUM(valor) AS valor1 FROM pagamentos WHERE pagamentos.cliente = '1' AND contratosid = '9289'…
mysqlasked Diego Marquez 320 -
0
votes2
answers74
viewsQ: Script to recover client
What is called that code that when the customer will leave the page appears a popup with some offer or asking the customer not to leave? Can anyone give an example of some code?
-
0
votes1
answer572
viewsQ: Picking with preg_match e-mail with special PHP characters
With this code below it does not take emails with underline. It is possible to modify to it catch including underline and other special characters? In the example below it returns the value…
-
0
votes2
answers131
viewsQ: Format date written "ex. January 12, 2017" to default (Y-m-d)
It is possible to pass a date in this standard "January 12, 2017" to the American standard (Y-m-d) ? Some example? Thank you.
-
1
votes1
answer658
viewsQ: Datepicker Do not select certain dates
I’m unable to make this code work, I want some dates not selected in datepicker. Now it is not working anymore, does not open the window to select the dates someone can help me? $().ready(function()…
-
1
votes1
answer23
viewsA: How to format a date in CDT?
I was able to find a solution: date('d/m/Y', strtotime('Tue, 3 May 2016 12:49:24 -0500 (CDT)'));
-
1
votes1
answer23
viewsQ: How to format a date in CDT?
How do I set a date in this format Tue, 3 May 2016 12:49:24 -0500 (CDT) look like this 03/05/2016?
-
2
votes1
answer2431
viewsQ: How to make the text disappear and appear?
I don’t dominate jQuery completely, I have a text on a div and I’d like him to do a vanishing effect and appear as a performance... or something like that. Sort of like this: [appears in 2 seconds]…
jqueryasked Diego Marquez 320 -
2
votes2
answers58
viewsA: Transform the text of a variable into an array
Thanks for all your help. I was able to solve definitively with the following code: preg_match_all('/([^: ]+): (.+?(?:\r\n\s(?:.+?))*)\r\n/m', $emailStructure2, $match); $newArray = array();…
phpanswered Diego Marquez 320 -
0
votes2
answers58
viewsQ: Transform the text of a variable into an array
I’m using php. I have the following text in a variable: X-Inquiry-Name: analia felices X-Inquiry-Adults: 5 X-Inquiry-Children: 10 I would like to be transforming into an array, separating these two…
phpasked Diego Marquez 320 -
-1
votes1
answer629
viewsQ: Format date from variable with php
I have the variable below and want to format to the Brazilian standard (20/01/2015) using PHP. $data = Sun Jan 10 00:00:00 CST 2016
-
1
votes1
answer127
viewsQ: linux SSH command
Good afternoon, I am new to linux commands, I need to view more than one file, currently I can use to view 1 file: tail -f pasta/arquivo I would like to be viewing 2 or more files, something like:…
-
2
votes1
answer46
viewsQ: Search does not work correctly when using JOIN
I have the SQL below and the parameter where the part JOIN contratos co ON c.email != co.email is not working. My goal is that the c.email is not in the contracts table. No SQL error is shown. If I…
mysqlasked Diego Marquez 320 -
1
votes1
answer27
viewsQ: MYSQL - Select not working properly
Good night, I have below the search in the database, but it returns me error or does not work on line 4 where it says "JOIN contracts co ON c.email != co.email", can you do otherwise, or improve the…
mysqlasked Diego Marquez 320 -
2
votes1
answer36
viewsQ: Select by selecting the attendant below the call media
Good morning, Estos trying to make a select to select only the attendants who have the number of calls below the media. It seems simple, but I’m not succeeding, I’ve tried many ways... Do not have…
mysqlasked Diego Marquez 320 -
1
votes1
answer26
viewsQ: Predetermined messages
I have a textarea where I need to add predefined texts that are my links. When clicking on them, add the content of ID the current position of the cursor on textarea. I need to do this with jQuery.…