Posts by Renato Junior • 992 points
59 posts
-
0
votes2
answers4429
viewsA: Go back to PREVIOUS screen without losing "INFORMATION" from previous screen
You can use a PHP session Page 1: session_start() $_SESSION['valor1'] = $valor1; Calling value on page 2: session_start() //inicia sessao echo $_SESSION['valor1']; // Valor já pode ser solicitado…
-
0
votes3
answers1088
viewsA: How to select Mysql using input date type with php?
Apparently, you are not using the SQL language correctly. The GROUP BY statement is usually used with aggregate functions (COUNT, MAX, MIN, SUM, AVG) to group the result set by one or more columns.…
-
0
votes3
answers110
viewsA: Javascript - How to make the date attribute of a li belong to another li
You want to put one list inside another, like the example: <html> <body> <h2>Lista</h2> <ul> <li>Honda</li> <li>Fiat <ul>…
javascriptanswered Renato Junior 992 -
0
votes7
answers39327
viewsA: How to create input masks with Javascript?
As follows: var value = "11912345678" var formatted = value.replace(/^(\d{2})(\d{5})(\d{4}).*/,"($1) $2-$3"); alert(formatted);…
javascriptanswered Renato Junior 992 -
7
votes4
answers9952
viewsA: How to make Mysql return utf-8?
One suggestion is to convert everything enters in the database in html entities, as follows the php code: $email = addslashes(htmlentities($_POST['email'], ENT_QUOTES,'UTF-8')); This way, all the…
mysqlanswered Renato Junior 992 -
5
votes3
answers1205
viewsA: What are Proxy, Gateway and Tunnel in the HTTP protocol?
Proxy and server have settings that use the word program. However, for the gateway this does not happen. This should be one of the differences you should notice. Try comparing a proxy to a gateway…
httpanswered Renato Junior 992 -
1
votes3
answers754
viewsA: <form action = ". /"> where will you go?
Without stalling, it means going to the current directory. That is, if the page directory x.asp for c:\pages\files\x.asp, will go to c:\pages\files
-
8
votes5
answers43935
viewsA: What is a Table Test? How to apply it?
Table test is a programming logic test, is usually used in repetition systems, example: A=1; B=10; While(A!=B) { A++; B--; } Table test: 1° Loop: Valor A inicial=1, Valor B inicial=10 Valor A final=…
-
2
votes1
answer369
viewsQ: Htaccess Login and Password
I’m having a problem, I have a directory of different files type csv, xls, pdf, docx... I wanted that person. h that put in the browser the file link did not have access to it, only those who made…