821 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for r4ds

Hello. I noob programing. I need extracting "ALGARROBO" and put in variable in JS. <select> <option value="0560200101">ALGARROBO</option> <option value="0760200601">CALIFORNIA</option> "" "" "" +70 options </select> Someone would be so kind to give me the js code? It is not possible to change the "value", since that information goes to api …

Web Development javascript sql
Member Avatar for rproffitt
0
88
Member Avatar for darkbox

I created an html page with days of the week Mon Tue Wed Thu Fri Sat Sun The corresponding page is linked to each day I would need that when the page opens, the day is automatically highlighted based on the day of the week and that there is a …

Web Development html-css javascript php
Member Avatar for Biiim
2
372
Member Avatar for cosmo13

> Hey there! I don't know why "Your Password is Incorrect!" is printed before I fillin the form. I've started learning php two weeks ago <!DOCTYPE html> <html> <head> </head> <body> <form action = "" method="POST"> <label id="first"> Name: </label><br/> <input type="text" name="username" placeholder= "Name" required><br/> <label id="first">Password: </label><br/> <input …

Web Development mysql php sql
Member Avatar for Biiim
0
176
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
162
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 php
Member Avatar for stephenlangton
0
82
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
617
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 html-css
Member Avatar for Dani
0
143
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 php
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
525
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 apache php
Member Avatar for Dani
0
290
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
65
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 html-css javascript jquery
Member Avatar for Dani
0
242
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
168
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
24K
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 javascript json php
Member Avatar for Dani
0
135
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
119
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
519
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
194
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
320
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
1K
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 mysql php sql
Member Avatar for Dani
0
168
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 html-css javascript mysql
Member Avatar for darkbox
0
106
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
407
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
208

The End.