911 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Pocokos

Hi, I am new to web development so I am still kind of unsure to how everything works so sorry if it is something obvious. To create the scenario, I need to create a music player using html5, javascript and css. I very much got stuck on how to shuffle …

Web Development javascript
Member Avatar for Biiim
0
161
Member Avatar for Shreya_8

I am trying to use on form to insert data into 3 different tables <?php if (isset($_POST["submit"])){ $servername = "localhost"; $username = "root"; $password = ""; $db = "test_db"; $conn = new mysqli($servername, $username, $password, $db); if ($conn->connect_error){ die("Connection failed: ". $conn->connect_error); } $Vehicle_type = $_POST["Vehicle_type"]; $Vehicle_colour = $_POST["Vehicle_colour"]; $Vehicle_licence …

Web Development
Member Avatar for stephenlangton
0
80
Member Avatar for Avi_4

![code.png](https://static.daniweb.com/attachments/4/87cafae5fd0eda16b78319ca17b8eb01.png) hello everybody, this is my code how can I show (div and p) apposite to each other by using css?

Web Development
Member Avatar for adisharma
0
52
Member Avatar for showman13

Using PHP / MySQL This is a sort of long explanation, but trying to provide all the information the first time. Hopefully someone can tell me what I’m missing or doing wrong, without too much criticism. I am trying to create a FUNCTION that I can use to retrieve a …

Web Development mysql php
Member Avatar for Dani
1
609
Member Avatar for larry29936

My website has a mirror of the download directory in the U.K.. On my download page I have 2 buttons, one for a U.S. download and one for a U.K. download. The current download page passes the filename to the download script. The download script (located in the download directory) …

Web Development php
Member Avatar for Dani
0
133
Member Avatar for Python_1

Hi guys I am after a pre written PHP script or a tutorial which displays records from a table each with a checkbox. ( I have worked to this part) When the check box is ticked and the submit button is pressed, the records with a checkbox get inserted into …

Web Development php
Member Avatar for Dani
0
200
Member Avatar for Pocokos

Hii :) I have a list which is presented on one line so I am using css 'float: left' to do this. In one list there is 3 entries. It should look like this <ol> <li> 1 </li> <li> text </li> <li> 1.30 </li> </ol However the way it is …

Web Development css
Member Avatar for Dani
0
141
Member Avatar for cliffcc

How to create submit button on each row ? If i press the button on that row, the information on that row will be confirmed. What is the problem? [CODE] ;<input name="<?php echo $row['id']; ?>" type="submit" id="<?php echo $row['id']; ?>" value="Confrim">&[/CODE] The whole code [CODE] <?php $host="localhost"; // Host name …

Web Development email gui password php select
Member Avatar for Kimanzi
0
18K
Member Avatar for Ivan_7

Hi,my friend and I are making our student project.And so far we create our 'back end' but in front (angular) somehow we are not able to get new socket.id when user change room.I will share your code with me hope someone will be able to help. This is our ANGULAR …

Member Avatar for rproffitt
0
516
Member Avatar for showman13

Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but drawing a complete blank. I have an affiliate website where my clients can refer us to their friends and receive …

Web Development .htaccess php
Member Avatar for Dani
0
285
Member Avatar for 3IA13_

Dear Friends, Help me to fix this.. Error Message : mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in Code is, <?php class Login { public function login_proses($u, $p){ include ('koneksi.php'); $pass = base64_encode($p); $_mysqli->query("START TRANSACTION;"); $cek_login = $_mysqli->query("SELECT * FROM penduduk, hak_akses, hak_akses_user WHERE penduduk.nik = hak_akses_user.nik AND …

Web Development mysql
Member Avatar for pritaeas
0
64
Member Avatar for Eugene_15

Hi guys, my siema slider plugin is not working in the jquery tab, everything i switch my tab, my image slider unable to slide image, only if I resize my browser and the slider image will function back again. Below there is a demo codepen link, hope i can get …

Web Development css html javascript
Member Avatar for Dani
0
232
Member Avatar for larry29936

My main download page passes an id number for the file to be downloaded. In the mydloader.php (located in the download folder), I have a pdo sql query to set $l_filename to the filename in the database. I need to use $l_filename in <a href to download the file. My …

Web Development php
Member Avatar for larry29936
0
167
Member Avatar for andreiviziru

so i have <?php ob_start(); session_start(); ?> <form action="upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="file"><br><br> <input type="submit" value="Upload"> </form> <?php $file_name = $_FILES['file']['name']; $file_size = $_FILES['file']['size']; $file_type = $_FILES['file']['type']; $tmp_name = $_FILES['file']['tmp_name']; $error = $_FILES['file']['error']; if (isset($file_name)) { if (!empty($file_name)) { $location = '/user/'.$_SESSION['Username'].'/'; if (move_uploaded_file($tmp_name, $location.$file_name)) { echo 'Uploadat!'; } …

Web Development php
Member Avatar for Piyasi
0
23K
Member Avatar for Abubaker_3

hey every one thank you in advance i have a jason resonse befofe the start of the json respone i get a hyphen like this i have been stuck for a day here so any help is much appreciated -{ "responseCode": "", "responseStatus": "200", "responseMessege": "Success", "product": { "id": "60", …

Web Development ajax php
Member Avatar for Dani
0
132
Member Avatar for theplayer

I have an error with the registration form, when someone registers or connects it gives me : Warning: mysql_num_rows() expects parameter 1 to be resource, null given in \public_html\include\global.php on line 37 Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in \public_html\include\global.php on line 38 Warning: Cannot modify …

Web Development mysql php sql
Member Avatar for Dani
0
117
Member Avatar for Olivia Alex

Which programming language used for the below url? How to know the programming language of particular website? htt ps ://www.f orm1099onli ne.com/

Web Development javascript
Member Avatar for Andres_6
0
110
Member Avatar for ronjacob012

I want to create a webpage which will automatically send an email before 2 days. <form action="try.php" method="post"> <p>Date From : <input type="date" name="date1" /></p> <p>Date To: <input type="date" name="date2" /></p> <input type="submit" name="submit" value="Submit" /> </form> <?php // echo("First name: " . $_POST['firstname'] . "<br />\n"); echo("Last name: " …

Web Development email php
Member Avatar for monika_12
0
14K
Member Avatar for GhostDragon

Hello, I'm new into PHP. Just migrated from Java recently. I'm trying to make a conversion machine that conver number to romans number. Here is the code I wrote : !DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Latins to Romans Conversion</title> </head> <body> <h2>Latin to Romans …

Web Development php
Member Avatar for bobgodwin
0
465
Member Avatar for Parker_1

Link in MySQL: https://wahlburgers.com/dorchester Variable loaded: $website = $row["website"]; How can I echo the word "Website" as a hot link to $website ( https://wahlburgers.com/dorchester ) inside an HTML form? This is what I've tried: <input type="text" id="website" name="website" value="<?php echo "<a href= '" . $website . "'>" . "Website" . …

Web Development mysql php
Member Avatar for Jawass
1
191
Member Avatar for Dani

Does anyone know of an automated tool that will convert a lot of jQuery code to native javascript? I think the bulky jQuery library is really slowing down my site but manually converting all my code seems very daunting. Ideally there would be something that was so flawless I could …

Web Development jquery
Member Avatar for Dani
0
319
Member Avatar for Spark_3

i just want to create a update form by using modal but when i click the button update nothing happen no popup appear or did with a wrong ways? i already change the position of the end curly braces but still not working. Any ideas? here is what i working …

Web Development php
Member Avatar for Arabic
0
963
Member Avatar for Deve381

I have 3 radio buttons on my form A , B , C but when i clicked on A radio it shows specific dropdown which get data from database table but by fruitid 1 and when i clicked on B it will show data fruitid 2 as onnword. i need …

Web Development database mysql php sql
Member Avatar for Dani
0
165
Member Avatar for darkbox

Good morning, I state that I am a beginner, I kindly need help from you. I made a page containing a form that submits data to a database. Everything works perfectly. I would now need to send the data to my email address at the same time. The form contains …

Web Development css javascript mysql
Member Avatar for darkbox
0
103
Member Avatar for Kuldeepbsht3103

I want to create a tool for my website that convert word document to html form and vice versa. I don't know the process how it works. I wnat to make it in JS, PHP or codemirror. I dont know how and where to start. Thanks.

Web Development javascript php
Member Avatar for Dani
0
99
Member Avatar for Dani

I'm struggling to upgrade from [CodeMirror 5.5](https://codemirror.net/) to [CodeMirror 6](https://codemirror.net/6/). Previous versions of CM have always been a drop-in Javascript library. Upload the JS files, upload the CSS file, include a `<script>` tag referencing the JS file, and then use the API to make a bunch of calls to incorporate …

Web Development
Member Avatar for Dani
0
405
Member Avatar for Adolfo_1

Hi ... I want to create some php pages where I have to change the variables ( top of the page ) through a form and of course save them on the same page. I don't want to use databases. It's possible??? <?php $pageurl = "text1"; $title = "text2"; $description …

Web Development php
Member Avatar for Adolfo_1
0
207
Member Avatar for Dani

In terms of performance, which is the best jQuery CDN to use? The one at cdnjs.cloudflare.com, googleapis.com, jsDelivr, code.jquery.com, etc?

Web Development jquery
Member Avatar for Dani
0
1K
Member Avatar for Jesse_21

I am attempting to update my accounts table for the current session ID with the data posted from a form. My first prepare statement is functioning fine and can be seen functioning through the placeholder variables in the form. It is my second prepare statement that doesnt seem to be …

Web Development database mysql php table
Member Avatar for Dani
0
88
Member Avatar for hiiiiii@

this is my code for inserting records into my form which is in html file `Inline Code Example Here` <?php error_reporting(E_ALL ^ E_DEPRECATED); $connect=mysql_connect("localhost","root","") or die(mysql_error()); $db_select=mysql_select_db("employee",$connect) or die(mysql_error()); if (isset($_POST['id'])) $id=$_POST['id']; if (isset($_POST['name'])) $name=$_POST['name']; if (isset($_POST['gender'])) $gender=$_POST['gender']; if (isset($_POST['mobile'])) $mobile=$_POST['mobile']; if (isset($_POST['email'])) $email=$_POST['email']; $qry="insert into emp(id,name,gender,mobile,email) values ('$id','$name','$gender',$mobile,'$email')"; $result=mysql_query($qry) …

Web Development
Member Avatar for Daju Emmanuel
0
3K

The End.