Posts by Adriano Back • 186 points
16 posts
-
0
votes1
answer233
viewsA: Html form does not send data to php files
Good morning, why don’t you try everything in one file? <?php include_once 'connect.php'; include_once 'bcrypt.php'; include_once 'register.php'; if(isset($_POST['logar'])) { var_dump($_POST);…
-
1
votes2
answers331
viewsA: php mysqli last record
after correcting the syntax of your code you can create a function like this <?php /* * Description of LastId * * @author Adriano Back */ class LastId { private $id; public function…
-
1
votes1
answer437
viewsA: Accessing . csv file with PHP
To write to a file I believe it is as follows //você pode transformar os dados em uma array para cada coluna e linha $dados = array( //array('ID','Nome','Endereço','Telefone'), array('1','Maria da…
-
-2
votes4
answers1713
viewsA: How can I create a circle in CSS with number in the center to use in wordpress
in the CSS using border-radius = 100% I believe it’s the simplest way
cssanswered Adriano Back 186 -
0
votes1
answer1029
viewsA: Difficulties with PHP - lastInsertId()
face I think your class of connection may be wrong try that connection <?php class ConnectionDB{ private $conn; public function __construct(){ try { $con = new…
-
0
votes2
answers147
viewsA: Accented words are not sent to the database - PHP
There are countless situations that can cause this to occur The way you generated your table "unicode_utf8" ?? How you’re handling your strings? Make sure you are using utf8_encode and utf8_decode…
-
4
votes3
answers1992
viewsA: how do I get the scrollbars out of my iframe via css?
<iframe src="google-glass.html" name="janela" id="frame-spec"></iframe> Go to the file you’re putting in the iframe in case your think is google-glass.html and on his head put…
-
3
votes1
answer57
viewsQ: Page redirection with error message
Good afternoon I have a doubt this command is correct? http://localhost/site/index.php#contato?info=Email%20Vazio index.php#contact? info=Email%20Vazio This is the function that sends the command…
-
2
votes2
answers227
viewsQ: Problem to load image in specific hosting
Someone uses the company’s hosting service 000webhost to do tests ? I am facing a problem with images that are not loading, the 'folder' is there and the 'image' is there with the correct names but…
-
0
votes2
answers63
viewsA: Put records on one line only
I would use log manipulation for this type of task I think sql would not be the best way to know when the user entered or left the session. recommend you take a look at file handling . txt or change…
sqlanswered Adriano Back 186 -
0
votes1
answer550
viewsQ: Problems with PDO class not found
I am studying a book in which I have to make some queryes through a Pattern Tabledatagateway design but I am getting the following error message: Fatal error: Uncaught Error: Class 'classes tgd PDO'…
-
1
votes1
answer67
viewsA: Error creating captcha image "The http://localhost/project/index.php image contains errors and cannot be displayed"
I was able to solve I switched the source and after some pages the script of the book presents something that had not been presented until then I needed to start a session and put the character…
-
0
votes1
answer67
viewsQ: Error creating captcha image "The http://localhost/project/index.php image contains errors and cannot be displayed"
I’m studying a book in which the code is the same and even then it doesn’t work someone can tell me what could be happening? <?php $pass_chars = ""; for($i = 0; $i < CAPTCHA_NUMCHARS; $i++){…
-
1
votes2
answers172
viewsQ: problem with data validation preg_match
hello, good night to everyone I am with a problem in the question of form validation where my preg_match works perfectly however not allow spaces anyone knows tell me how to let the user insert…
-
0
votes1
answer57
viewsQ: You’re denying access to even normal characters
This command line is not letting my form access the database even with all normal characters someone who understands more than preg_match can help me?…
-
0
votes0
answers420
viewsQ: Access error denied for user in connection
Can anyone tell me why I’m finding this mistake ? Warning: mysqli_connect(): (HY000/1045): Access denied for user 'clienteaces'@'localhost' (using password: YES) in C: Program Files (x86)…