Posts by Mbosso • 103 points
17 posts
- 
		2 votes2 answers77 viewsA: Create new Rows in Bootstrap according to the amount of items in the database with PHPMake the loop inside the <div class="row"> and use the class form-group <div class="col-md-3 form-group"> to add a space between the columns when and does not fit in the same Row.… 
- 
		0 votes1 answer66 viewsA: How to add a link to a page and only proceed after you do recaptcha?Try to leave the tag form like this: <form method="post" onsubmit="validar();">, you don’t need to use return validar() just put the function name. 
- 
		0 votes0 answers129 views
- 
		0 votes1 answer2147 views
- 
		1 votes3 answers1730 views
- 
		0 votes2 answers86 viewsA: PHP & SQL - How to get specific information from each user in a tableYou can put the collpase div in the first while so: <div class="row" id="realTimeContents myGroup"> <div class="col-md-8"> <div class="scrollable"> <table class="table… 
- 
		0 votes3 answers96 viewsA: Show the user his test positionI believe you can do it like this: select * from nome_tabela WHERE curso='Desenho' ORDER BY Nota1 DESC In other words, the result of this select will be in descending order relative to the Nota1… 
- 
		0 votes2 answers1989 viewsA: How to pass data via get?To get the data sent by GET you need to put the parameters in your href. See: <a href="categoria.php?categoria=valorDoParametro" name="categoria"> <?php echo $prod['categoria']; ?>… 
- 
		1 votes2 answers85 viewsA: Error saving converted date in phpMyAdmin databaseIf you are printing the date value correctly, make the variable receive this value. See: $data = date('Y-m-d', strtotime($data)); Of course, after you have used str_replace… 
- 
		1 votes3 answers3153 viewsA: Alert in an html bootI believe your syntax is incorrect the function call should be "onclick" and not "oneclick" see: <input type="submit" class="btn btn-primary" id="btn_cadastro" onclick="cadastro()"/> Check if… 
- 
		0 votes3 answers916 views
- 
		0 votes3 answers55 viewsA: Session variable does not existif (!isset($_SESSION)) { session_start(); $_SESSION['UsuarioID'] = $resultado['id']; ... } Try to use your if this way 
- 
		1 votes1 answer65 viewsA: Method Search database records on the same PHP form pageNo need to declare the function with the public, just do so: function findClientes($nome,$cpf){ ... } 
- 
		0 votes2 answers541 viewsA: Mount INSERT from SELECTIn this case I think it would be easier with php. You’ll need to create a loop with the results. Something like this: select * from cliente where nome like 'PEDRO%'; $conexaoBanco = mysqli_query;… 
- 
		0 votes1 answer2104 views
- 
		1 votes1 answer26 viewsA: How do I make the selects mandatory and leave the first option as default?To be a mandatory field it is necessary to use "required" and to leave a default option, Voce needs to put inside the "Selected" option tag" <select name="nome_do_campo" required> <option… 
- 
		-1 votes3 answers246 viewsQ: Comparison of dates in PHPI’m doing this code to compare the current date with the date I entered into the form, I used this logic to do this, but apparently it’s not working. What could be wrong? <?php $data =…