Posts by Rebeca Aguirrer • 177 points
14 posts
-
2
votes1
answer46
viewsA: What’s wrong with my css code?
There is a typo. "max-width" and not "max-widht"
-
0
votes1
answer40
viewsQ: Help here with a Ruby exercise
Why even if I type 0 or 2 it doesn’t come out of second while while opt==2 print "Digite o valor a ser depositado: " deposito = gets.chomp.to_f saldo = saldo + deposito print "Pressione 0 para…
rubyasked Rebeca Aguirrer 177 -
0
votes1
answer60
viewsQ: How to make a UL center horizontally and vertically on a Nav?
*{margin: 0; padding: 0;} nav{ width: 100%; height: 100px; background:gy;margin: 0 auto;text-align: center;background: rgba(0,0,0, 0.6);} nav ul{list-style: none; } nav ul li {display:…
-
0
votes2
answers202
viewsQ: Is the third parameter of filter_input required in PHP?
$nome = filter_input(INPUT_GET, 'nome', FILTER_SANITIZE_SPECIAL_CHARS); I took a look at the PHP manual but it says nothing, I saw a guy not using the third parameter and then I wondered if it is…
phpasked Rebeca Aguirrer 177 -
1
votes1
answer79
viewsA: I can’t enter data numbers float
Maybe the problem is in the connection or in the SQL command, try to make the SQL command this way to see if it works: $query ="INSERT INTO prudutos (nome,preco)VALUES ('$nome','$preco')";…
-
0
votes1
answer85
viewsQ: Redirect to the mobile version of the site via javascript or responsive design, which is the best option?
Make a javascript redirect to a mobile version of the site or make a responsive design?
-
-2
votes3
answers57
viewsQ: How do I get this page error with this code?
<form action="" method="post" enctype="multipart/form-data"> <input type="file" name="file"/> <button type="submit">Enviar</button> </form> <?php if…
phpasked Rebeca Aguirrer 177 -
-2
votes1
answer277
viewsQ: Why can’t I upload more than 2mb with this script?
<form action="" method="post" enctype="multipart/form-data"> <input type="file" name="fileUpload"/><br/> <button…
-
0
votes1
answer525
viewsQ: (PHP) What variable do I put inside mysqli_affected_rows
<?php $conexao = mysqli_connect("localhost","root","","banco"); $nome = isset($_REQUEST['nome'])?$_REQUEST['nome']:""; $telefone =…
-
1
votes1
answer76
viewsQ: How can I put an if in this mysql search when no results return?
how to put an if and Else in this code for when the search in the database does not return any value? include_once("conexao.php"); $sql= "SELECT FROM tb_nome WHERE nome LIKE '$pesquisar%'"; $salvar…
-
-1
votes1
answer78
viewsQ: I need help with Php and Mysql
I am creating a site/blog in Php, I have already made a search system in php and mysql, but I am with a doubt, I have researched on the subject and I do not think, I would like to know, how to…
phpasked Rebeca Aguirrer 177 -
0
votes0
answers80
viewsQ: Create an Android app using C or C++ only
It is possible to create an application for Android using only C or C++ unused Java? If yes where can I start and what name of the program I can use?
androidasked Rebeca Aguirrer 177 -
2
votes1
answer166
viewsQ: Wrong result when calculating BMI
I am doing an exercise with the C language to calculate the BMI, there is no error in the compiler but the result goes wrong, I have already looked at the code and I do not find the error at all.…
casked Rebeca Aguirrer 177 -
8
votes4
answers3416
viewsQ: How to do a search to know if a string is inside a vector in C#
I’m doing a little program that searches inside a vector. The problem I’m having is that if he finds the name he gives a message saying it was found but then gives another message saying that it was…