Posts by Otavio Fagundes • 978 points
58 posts
-
2
votes2
answers724
viewsA: How to make links with sub-links
Use the HTML5 Details tag, see an example of usage http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_details Example from W3schools website: <details> <summary>Copyright…
htmlanswered Otavio Fagundes 978 -
1
votes1
answer146
viewsQ: Do I need to use session_generate_id on all pages?
Guys I met this function recently, I know it generates another random id for the session, but my question is the following, can I use this function only once in case after logging in, and in the…
-
6
votes2
answers4450
viewsQ: How to use openssl_encrypt encryption method?
It’s been a week that I search in everything that is site but I can not understand, I’m very curious about the use of this function but I can not find anything that explains in a simple way, someone…
phpasked Otavio Fagundes 978 -
0
votes1
answer151
viewsQ: How to list mysqli data displaying in DESC but listing from top to bottom?
I’ll try to explain it better, like this, by listing something from the bank with DESC id shows something like this: id:1 id:2 id:3 id:4 id:5 but I want it to be displayed like this: id:5 id:4 id:3…
-
0
votes1
answer83
viewsQ: How to pass an array value in bind_param in mysqli?
I am doing so, but always error because of array, someone knows how to solve it: public function Verificar(string $tabela,string $parametros,array ...$usuario) { $this->Query =…
-
0
votes0
answers205
viewsQ: When trying to insert something into the bank with boolen error mysqli
Shows this error: Uncaught Error: Call to a member function bind_param() on boolean in /opt/lampp/htdocs/sala/class/Config.class.php:35 In my file it’s like this: public function Cadastrar(string…
-
3
votes1
answer101
viewsQ: Does anyone know how to assign an edge to a triangle made with css?
The code is this: div { width: 0; height: 0; border-style: solid; border-width: 0 40px 30px 40px; border-color: transparent transparent #007bff transparent; } <div/> I want to create an edge…
cssasked Otavio Fagundes 978 -
6
votes2
answers1107
viewsQ: foreach can replace fetch_array?
I saw in a video that the guy takes the query and plays straight in foreach and manages to list without any problem, my doubt is the following: if really possible, using only foreach would be much…