Posts by edshewa • 170 points
22 posts
-
1
votes1
answer234
viewsQ: How to make a multilingual website?
I have already had to research on the subject on this site and others, and this question seemed to me the most complete: How to make a multilingual site? , my question is: is it necessary to do with…
-
0
votes1
answer1504
viewsQ: pass multiple variables through the GET url
I want to pass two variables to another page through GET. I already have one working like this: <a class='fa fa-remove' href='remover.php?remover=carrinho&id=$idproduto'…
-
-2
votes1
answer64
viewsQ: How to use PHP variables in Javascript?
I have a quantity variable, and I have two tags <a> who function as onclick and call the function myFunc1 or myFunc2. One serves to increase the amount and the other to decrease. myFunc1 to…
-
0
votes1
answer37
views -
0
votes1
answer35
viewsQ: Content overlaid on the page
I have two forms that overlap with the other contents of the page. I needed opinions on what mistake is causing this and how to put the forms below the rest of the content <div…
-
1
votes1
answer176
viewsQ: Fatal error: Call to Undefined method mysqli_stmt::bindparam() PHP || MYSQL
I’m with this error a few days ago, I’ve seen similar answers here on the site and also in the community in English, but I can not find the appropriate response to my situation. Fatal error: Call to…
-
2
votes1
answer38
viewsA: I can’t make the log button
changes this line: <button class="registar" onclick="document.getElementById('id2').style.display='block'" style="border:2px solid black; border-radius:10%;" > <i class="fa…
-
0
votes3
answers100
viewsA: Do not allow insertion of € symbol in an input
Put this in your code, This code eliminates the symbol €, for example: 1,43€ is 1,43€ But make sure that when doing the Insert in the BD uses the result variable. <script> function…
-
0
votes1
answer330
viewsQ: Warning: Illegal string offset 'id_mol_comp' in
I’m making multiple mistakes Warning: Illegal string offset 'id_mol_comp' in C: wamp www fanamol carrinho.php on line 167 Notice: Uninitialized string offset: 0 in C: wamp www fanamol carrinho.php…
-
0
votes1
answer69
viewsQ: No matter the products for the PHP cart || MYSQL
I’m making an online store and I’m having trouble making the cart, when I click on the icon to add to cart, it doesn’t matter and the cart always appears empty. And the result: This is the button…
-
1
votes1
answer31
views -
0
votes1
answer46
viewsQ: show text on another page
I am making the validations of the form fields, and I want to show a message in case they are wrong, as in the example: Passwords do not match This is the code of the action page, where you do the…
-
0
votes1
answer26
viewsQ: Make registration popup made!
Good morning, I want to jump up popup when the registration is successfully performed and placed at the base and want to know what part of the code I should put it on This is the php file: <?php…
-
0
votes2
answers161
viewsQ: Keep data in the PHP form textbox | HTML
I have a form, but when I submit the form, all the data in the textboxes disappear, I want to know how to keep the data in the textboxes after submitting, so that the user does not have to enter the…
-
3
votes1
answer614
viewsQ: align text vertically within a <div> CSS || HTML
i want to align the text vertically in div, but I wonder if it is possible to do it without changing the css because I am using the…
-
0
votes2
answers196
viewsQ: Error: Notice: Undefined index || PHP || MYSQL ||
Hi I’m developing a filter for an online store and I’m getting this error when I start the page, But when I click on the continue button of the form, everyone disappears except this: Here is the…
-
1
votes1
answer38
views -
1
votes1
answer226
viewsQ: Error: Notice: Undefined index: D1
I’m creating a filter for an online store, which will have these fields: And so far select * was working, but when I started deploying the filter it stopped working. Here is the form code and order…
-
1
votes2
answers107
viewsQ: my dropdown comes off the screen, how do I get it down to the opposite side?
The dropdown of the stroller, comes out of the picture, it is possible to make it descend to the left side? here is the code: @import…
-
1
votes1
answer195
viewsQ: To create a product in an online store, do I need to create an HTML page for each product?
my question is: I am creating a website with store, for a customer to access the page with the details of a product, it is necessary to create a page for each product, or there is some way for a…
-
0
votes0
answers33
viewsQ: Wrong output, I put a valid password and does not work
return: string 'invalid password, only letters and are accepted numbers' (length=55) class Validapass { public function setValidapass($pass) { if (strlen($pass)<1) return 'escreva a password';…
-
0
votes1
answer1411
viewsQ: Fatal error: Cannot redeclare spl_autoload_register()
<?php function spl_autoload_register($class){require_once"{$class}.class.php";} class ConDB { private static $cnx; private function setConn() { return is_null(self::$cnx)? self::$cnx=new…