Posts by Hugo Nascimento • 106 points
7 posts
-
-1
votes1
answer347
viewsA: Read doc/docx content in javascript
There is a class in PHP calling for doc2txt. Just give Ctrl c + Ctrl v, follow the credits in the code. When I searched in Javascript I found for . docx or . doc separate. example.php <?php /*…
-
0
votes1
answer34
viewsA: Avoid Windows compatibility mode
Compile with a more current framework that will fix the problem, remembering that when changing the framework may stop working some functions of the code, backup before and then test, if any error…
-
0
votes2
answers347
viewsA: Transform a variable value into a paragraph
In this example the H1 tag will receive the contents of the variable only when the send function is triggered, if you want to remove the code from the function and put it in another one, then you…
-
2
votes1
answer518
viewsQ: Save user data to session after login
On the login screen I make the query to free the access to the system, after that I would like to make a complete query of the data of that user and to write in the SESSION. <?php // inclui o…
-
-1
votes1
answer269
viewsQ: Error inserting data into PHP PDO database
I am trying to create a new register in the bank with the following code and returns the error: Insert value list does not match column list or os the record is created but blank, since the fields…
-
1
votes1
answer198
viewsQ: Real-time increment button input calculation
I have a calculation of a input with a working variable. I have two buttons to increase and decrease the value of input, but when I use the buttons the calculation is not done in real time, it is…
-
5
votes3
answers11852
viewsQ: Show a number in 2 decimal places
How do I calculate a input (integer value) and a variable in (real) currency in javascript? The result is being 6.7 and not 6.70 (I have tried many examples here of the forum, but nothing yet).…
javascriptasked Hugo Nascimento 106