Posts by Patrick Souza • 48 points
7 posts
-
0
votes0
answers19
viewsQ: Selection does not display data on screen (php and mysql)
<?php class categoria { public function selecao($pesquisa){ require_once 'conexao.php'; $con = new conexao(); $conn = $con->conectar(); $sql = "select *…
-
0
votes2
answers63
viewsA: Error inserting data into BD with PHP
The error was in the user.php file public function inserir($nome, $email, $senha) { //estebelecendo conexão com banco de dados //I forgot to call through require the connection.php $conexao = new…
-
-1
votes2
answers63
viewsQ: Error inserting data into BD with PHP
When trying to enter data into the BD, displays the following message: Fatal error: Uncaught Error: Class 'usuario' not found in C: xampp htdocs CRUD interface cadastroUsuario.php:11 Stack trace: #0…
-
0
votes1
answer61
viewsQ: Problem showing result in php when there is only one entry in the BD
The code below returns some value, when there are several records with the same or similar name, when there is only one record in the bd does not return the value of that record. <?php…
-
1
votes1
answer45
viewsQ: Struct presenting problem
I am unable to compile the program shows error in variable declaration struct product, when I try to create an instance in the main. #include <iostream> using namespace std; struct produto;…
-
2
votes2
answers75
viewsA: div 11 does not receive styling in css
Instead of ID you try to use class. id can only be used once per page. Class can be used several times on the same page. in the CSS you have to trade * for . html syntax: html syntax: <div…
-
0
votes1
answer70
viewsQ: Center menu or by 10% left margin without compromising resposivity
.nav-tabs { background-color: #ffff00; } .nav-tabs a { color: red; } <ul> <li role="presentation"…