Category : html

<?php if(isset($_POST[‘Register’])) { $Username = $_POST[‘Username’]; $Name = $_POST[‘Name’]; $password = $_POST[‘password’]; $Email = $_POST[‘Email’]; } //Database Connection $servername = "localhost"; $dbusername = "root"; $dbpassword = "[email protected]"; $dbname = "railways"; $conn = new mysqli($servername,$dbusername,$dbpassword,$dbname); if($conn->connect_error) { die(‘Connection failed : ‘.$conn->connect_error); } else { $stmt = $conn->prepare("INSERT INTO register(Username,Name,Password,Email) values(?,?,?,?)"); $stmt->bind_param("ssss",$Username,$Name,$password,$Email); $stmt->execute(); echo "<h2>Registration Done Succesfully…<h2>"; ..

Read more

I am trying to send data from user end to server end: positionList.html <=> dbUpdate.php issue seen on the developer console The data format I am going to send is an array of self-defined Javascript objects. Here’s one example: [{"position":"code testing","description":"junior"},{"position":"front end developing","description":"junior"}]. There are two objects in the array above, and each one is ..

Read more

Im trying to use jQuery, wich for me is new, but i can’t !! My code is wrong ?? Please help me: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> </head> <body> <button id="test">Click me</button> <script> ${‘#test’}.on(‘click’, function(){ console.log(‘Hello, JQuery!!’) }) </script> </body> </html> The error is: ‘;’ expected. ..

Read more

I’m making a custom WordPress theme with pinegrow editor and I’m using slick slider for my slides (not the WordPress plugin!). Here is the code of one item of my slider with custom dot thumb: <div class="item" data-thumb="images/realmix/products/fresh-energy.png"> <div class="row productz"> <div class="col-md-7 col-lg-7 doesle col-sm-5 col-xs-12"> <img src="images/realmix/products/energy-panel.png"> </div> </div> </div> and this is ..

Read more