Posts by Pedro Carvalho • 51 points
3 posts
-
0
votes2
answers139
viewsA: How to display/hide an element in Javascript
You can define a ". Hide" class in your CSS and then in javascript do: <script> function fAbreGuias() { var vGuias = document.getElementById('guias'); vGuias.addEventListener('click,…
-
0
votes0
answers62
viewsQ: Encoding error when entering data into database
Guys, I’m starting now and I’m trying to create a small form with PHP and Mysql that sends the form information to the database, but I’m having a small problem. When entering the data in the…
-
4
votes4
answers880
viewsQ: Why is it not advisable to use PHP codes in the same HTML document?
I was in the lab today showing a simple PHP code example to a colleague and my teacher saw it and asked "Why are you putting PHP together with HTML?". Even without understanding much I answered that…