52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hlforr

I have a form as below on a page pricelist.php. On submit, it uses the code in submit.php to print a price next to the form on pricelist.php depending on the choices submitted in the form. On submit, I need the values of the first two fields to be retained. …

Web Development javascript php
Member Avatar for alan.davies
0
586
Member Avatar for Love_7

I am working on a new project where I want to add candidates scores, there are different columns with HTML inputs that holds their performance scores at every stage, then I want to sum it up under the column TOTAL, get also the AVERAGE, and GRADE also on different columns …

Web Development php
Member Avatar for Reverend Jim
0
429
Member Avatar for trevata

Hi. In short, how can I make this javascript to refresh the page when uploading is done ? :) [code=javascript]function $m(theVar){ return document.getElementById(theVar) } function remove(theVar){ var theParent = theVar.parentNode; theParent.removeChild(theVar); } function addEvent(obj, evType, fn){ if(obj.addEventListener) obj.addEventListener(evType, fn, true) if(obj.attachEvent) obj.attachEvent("on"+evType, fn) } function removeEvent(obj, type, fn){ if(obj.detachEvent){ obj.detachEvent('on'+type, …

Web Development javascript
Member Avatar for Tiago_3
0
447
Member Avatar for Mr.M

As web developers we do take seriously the security of our end users by applying a hash method on their passwords before storing it to the database so should our database be hacked we know that our end user passwords are secure. But what about the browser remembered passwords on …

Web Development html-css javascript php
0
2K
Member Avatar for ndfd2008

in C# and PHP, we can parse xml data easily by server side coding, but how we can parse xml with client side? java script or jquery is the best option?

Web Development javascript javascript-jquery xml
Member Avatar for kellyq
0
393
Member Avatar for khalilbnzz

Hello, [Click Here](https://i.imgur.com/47YUdmn.png) My problem is in the Edit view, it gets all the information except the logo.. my edit get controller is : // GET: Billers/Edit/5 public ActionResult Edit(string id, HttpPostedFileBase logo) { if (id == null) { return new HttpStatusCodeResult(HttpStatusCode.BadRequest); } Biller biller = db.Billers.Find(id); if (biller == …

Web Development asp asp.net
0
341
Member Avatar for 68thorby68

Many thanks if you are looking at this. I have a simple order form that allows users to place an order for an item. The form also allows the user to add more items, calling a javascript function that utilizes innerhtml. Included in each order form, are dates. I am …

Member Avatar for tekwalker
0
3K
Member Avatar for Blueie

Hello I am getting 3 errors (same errors for all 3 lines) in my Visual Studio 2017 Web Forms project: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load pnlFormFields.Visible = False pnlThankYouMessage.Visible = True LblDate.Text = ReturnDate() End Sub pnlFormFields, pnlThankYouMessage, and LblDate, are not declared. …

Web Development asp.net vb.net visual-studio
Member Avatar for xrjf
0
435
Member Avatar for Bahrija

This is my array: [0] => Array ( [0] => SupSKU [1] => MfrSKU [2] => Cost ) [1] => Array ( [0] => A [1] => 11742-4 [2] => 47.25 ) [2] => Array ( [0] => B [1] => 11742-4 [2] => 283.5 ) [3] => Array ( …

Web Development php
Member Avatar for alan.davies
0
4K
Member Avatar for useruno1

Hello guys, unfortunately it looks like I'll have to use your help again. I'm struggling for few days to configure some filters in woocomerce and I can not do it at all. I'm trying to configure some filters to appear only in subcategories, and a main filter only in the …

Web Development ecommerce
Member Avatar for useruno1
0
3K
Member Avatar for dloj333

HI All, Thanks in advance for any assistance anyone can bring me. I am using an Avada Theme with Fusion builder and everytime I create a new page and add images I get this error. and of course it is refereing to a line that is a foreach() line. In …

Web Development wordpress
Member Avatar for alan.davies
0
362
Member Avatar for CSWinslow

So here's a little background to help with what I'm trying to accomplish (be mindful I'm also fairly new to MySQL): I'm creating a dynamically built navigation for a website using PHP and MySQLi. I've created a class called *Database* where I've got helper functions, such as connect() for connecting …

Web Development mysql php
Member Avatar for CSWinslow
0
3K
Member Avatar for bprosic

Hi, I want to replace ticks in text with other text. This method usually works, but when adding three dots, I get php warning ltrim(): Invalid '..'-range, no character to the right of '..' or invalid range needs to be incrementing. I don't know where to look for error, except …

Web Development php
Member Avatar for Dani
0
3K
Member Avatar for sagisgirl

Hi, I am developing a system that need to monitor machines' licence, so i have a field 'movedate' and 'outdate' every machines can only been kept for 2 years for most. and if the machine didn't go out for almost 2 years, an alert will come out to remind the …

Web Development mysql php
Member Avatar for Dani
0
8K
Member Avatar for tun712

Working on fullscrfeen slider. Need help to count slides inside main slider container & create navigation `<ul class="Nav"><li><a></a></li></ul>`. Need help to add scroll effect Vertically or Horizontally Add class **.active** to active slide Display tooltip on navigation hover Need help to write function , $('main').slider({ //It may be main or …

Web Development html-css javascript-jquery
Member Avatar for uprawnieniabud
0
900
Member Avatar for f1 fan

These few lines will allow you to email as html an aspx page from your site or in fact any web page you want (though i wouldnt recommend any with lots of scripts etc in it). It is very useful for email forms to customers etc from your site. Personally …

Member Avatar for anandraju123
0
6K
Member Avatar for developer707

Hello, Recently I am using phpexcel and afer many tries I wasn't able to find out how to make a document with a image in its header. Here is a simplified code that I am using. Can someone helps me with this issue?! <?php require_once 'PHPExcel.php'; $objPHPExcel = new PHPExcel(); …

Web Development image php
Member Avatar for Arvind_7
0
10K
Member Avatar for Thomasio

I know C++, PHP and a few more, but I do not have the slightest clue, how to make a browser extension and the tutorials I find on the web are like chinese to me, so let me ask here, if anyone can help me out. Task: I want to …

Member Avatar for rproffitt
0
343
Member Avatar for FMTech

My code is given me error Parse error: parse error, expecting `T_FUNCTION' in C:\wamp\www\schoolapp\application\controllers\Login.php on line 277 here is my code <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Login extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('crud_model'); $this->load->database(); $this->load->library('session'); /* cache control */ $this->output->set_header('Last-Modified: ' . gmdate("D, d …

Web Development php php-codeigniter session
Member Avatar for gentlemedia
0
465
Member Avatar for Josh_4

I have a webpage which helps download files from database. I want to count the how many times the download button has been clicked and display it on my webpage with unique id. This is my download webpage <div class="container"> <div class="row"> <div class="col-12"> <div class="media"> <img src="./images/<?= $mainImage; ?>" …

Web Development mysql php
Member Avatar for warner_1
0
2K
Member Avatar for ChrisJ

I am trying to display some text "THIS IS A TEST" on the html page. I am getting this error: "Notice: Undefined variable: text1 in /home/public_html/themes/videos/content.html on line 23" Here is the php file ( I added line 35 and 39): <?php declare( strict_types=1); // these should be set in …

Web Development php
Member Avatar for coreyavis
0
315
Member Avatar for Josh_4

Hello please i have a download webpage which allow users to download mp3 files. I want to display the number of times a user has click the download button and display it on the webpage. The records are in a database and this is my code. This is my download …

Web Development mysql php sql
Member Avatar for rproffitt
0
2K
Member Avatar for zobadof

Hi All, My apologies if this is in the wrong place. It's been an extremely long time since I've used this website and it seems like many things have changed, though, this seemed the most approriate. I'm currently in the process of helping my brother create a website <[loathingsloth.com](https://www.loathingsloth.com)>, using …

Web Development html-css wordpress
Member Avatar for Reverend Jim
0
428
Member Avatar for CreatorZeus

So im trying to make a background switch by adjusting the z-index with a hover. I got it to work on one of my pages but the second page has more stuff on it and is too complex. Maybe im just over looking what im suppose to fix. First, the …

Web Development html-css php web-design
Member Avatar for AndrisP
0
499
Member Avatar for Start4me

I've been looking tutorials and examples of setting the value field of a input tag. I'm trying to enter two IP addresses into the text fields on [this](https://www.ipaddressguide.com/cidr) website, under IP Range To CIDR. But my code won't enter anything. There's no ID tag, so I can't use the getElementById …

Web Development microsoft-office visual-basic
Member Avatar for Start4me
0
2K
Member Avatar for milan.sabic

I am getting a screen resolution through XMLHttpRequest. I am opening a show_content.php file with *xmlhttp.open* that contains screen resolution variables which I pull with the GET Method. xmlhttp.open("GET","show_content.php"+queryString,true); This works! and showing this file with the variables in a following div <div id="txtResolution"></div> This part works as well! PROBLEM: …

Web Development javascript php xml
Member Avatar for AndrisP
0
689
Member Avatar for FarrisFahad

Hello webmasters, I have a website about memes and I want to update the database each time the user scrolls down. I have no problem when I make a few requests to the database, but what if I want to do a lot of requests in a large database? I …

Web Development javascript mysql php
Member Avatar for Ray Paseur
0
3K
Member Avatar for SkyFX

I am hacking my way through a Laravel project. I am returning a search-filtered databse query with Laravel and applying a pagination, the pagination works, the query works, but the pagination links go to a blank page, only the first page of results is visible. Any hints would be much …

Web Development php
Member Avatar for SkyFX
0
1K
Member Avatar for ariowishnu

hey its me again.. now another matter about fetch data from db for provide information to modal form ( edit data ) not shown, [Click Here](https://i.ibb.co/L8jP6tb/update.png) here's just part code fr each related page : **modal edit** ill try with first input type with **id="name" name="name"** <!-- edit modal --> …

Member Avatar for Ray Paseur
0
461
Member Avatar for abdallah mohamad

Write a PHP code to: 1- Create a 2-dimensional array, with a random number of rows and columns. 2- Fill the array with random numbers. 3- Send the array to a function that returns the number of the highest frequency in the array. Who can help me to solve it?

Web Development php
Member Avatar for abdoosh
0
4K
Member Avatar for keaikitse

<?php session_start(); ?> <?php include('dbcon.php'); ?> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div class="form-wrapper"> <form action="#" method="post"> <h3>Login here</h3> <div class="form-item"> <input type="text" name="user" required="required" placeholder="Username" autofocus required></input> </div> <div class="form-item"> <input type="password" name="pass" required="required" placeholder="Password" required></input> </div> <div class="button-panel"> <input type="submit" class="button" title="Log In" name="login" value="Login"></input> </div> …

Web Development mysql php
Member Avatar for Ray Paseur
0
3K
Member Avatar for muktapuram

Hi, I am trying to insert to insert a video into a folder and its path into the database. But both the things are not working for me. And also I need to retrieve the video from database. Can someone help me where i went wrong. My html to upload …

Web Development mysql php
Member Avatar for aiswarya_2
0
3K
Member Avatar for LegateLucius

i'd like some help writing an sql statement that brings back the shows in a specific category. For example an sql statement that will bring back shows from the action genre in the tables below ![NPFXq.png](/attachments/large/4/184a0604556473722e1c584d4929caf6.png)

Web Development php sql
Member Avatar for ryantroop
0
345
Member Avatar for divinity02

I am created a homework tutorial webpage where i have to make an image clickable and what I meant is that when the image is click, it should open up a pdf file and that is where iI am having the problems this is what i have tried on numerous …

Web Development image pdf
Member Avatar for rproffitt
0
395
Member Avatar for ChrisJ

I am using a php web video script which allows Users to purchase videos successfully. The purchases are made from the amount available in the Users’ 'wallet' (the User can also earn compensation, which gets added to his earnings 'balance'). When there’s not enough available in the 'wallet' for the …

Web Development php
Member Avatar for alan.davies
0
505
Member Avatar for ariowishnu

inside mysql db which is table employe in coloumn *id_employee*, some data have a leading zero, etc : **id_employee : 0378192918 empy_name : Daniweb** i need to get id_employee for delete employe in my aplication, then i using ajax method like this : if(id) { alert(id); $("#deleteBtn").unbind('click').bind('click',function(){ $.ajax({ url: 'pegawai/delpeg.php', …

Member Avatar for ariowishnu
0
4K
Member Avatar for Start4me

I'm working in Excel to extract content of a table from a web page and populate Excel sheet cells with it. I'm trying to extract data from a table that gets loaded to a web page after show results method gets called. I have an error that says "Run-time error …

Web Development html-css visual-basic
Member Avatar for Ben_32
0
12K
Member Avatar for zelrick

Hello and Good Day, I have a multiple images that is played on flanis. On my iFrame, this images are not fitted. I want to have a flanis that is responsive fitted on my iFrame. so I tried this one image only in the <img> tag and it works fine. …

Web Development html-css image
0
318
Member Avatar for Mansoor_5

Message could not be sent. Mailer Error: SMTP Error: Could not authenticate. it worked on localhost perfectly but it gives error on live server Here is my code $mail = new PHPMailer(true); try { $mail->IsSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->SMTPDebug = 2; $mail->CharSet = "utf-8"; $mail->Username = "xxxxxxxxxxx@gmail.com"; …

Web Development php
0
309
Member Avatar for useruno1

I have an annoying problem on my website, I have been struggling for a few days to fix it and I can not do it at all. On my site here https://codurilevietii-888.ro/ each time i load a new page, the scroll position stays same as it was on the previous …

Web Development html-css
Member Avatar for useruno1
0
3K
Member Avatar for FarrisFahad

I have installed Facebook share button on my website but it won't work on new content. It works perfect with content that is loaded with PHP but not content appended by AJAX. Can anyone help?

Web Development html-css javascript social-media
Member Avatar for FarrisFahad
0
3K
Member Avatar for ayooshkasmth

Hi, I have a problem with retrieving uploaded images from a database. It appears to upload fine, but when i try to display the image i get loads of binary jargon? I have tried looking everywhere for a solution, but unable to, any help would be greatly appreciated. The code …

Web Development image php
Member Avatar for gentlemedia
0
8K
Member Avatar for rakesh4java

# I want to give a button in my JSP page, which on click of it should store an image in the filesystem. # Following is the code ScreenCapture.java which is a servlet. Purpose: To capture the screen of working area and store it in file system. Problem: - An …

Web Development java java-jsp
Member Avatar for stultuske
0
1K
Member Avatar for Zahi_1

this code should send the id to the next form in the same html page <a href="newtestpage.php?id=<?php echo $post['C_ID'];?> #editEmployeeModal" class="edit" id ="<?php echo $post['C_ID'];?>" data-toggle="modal"> <i class="material-icons" data-toggle="tooltip" title="Edit">&#xE254;</i></a> and this code recieve the id and fill the data in the input box <div id="editEmployeeModal" class="modal fade"> <div class="modal-dialog"> …

Web Development php
Member Avatar for AndrisP
0
371
Member Avatar for Addison111

I'm having a webpage that loads inside an iframe. I added the base tag to load the images, styling and to make links work, after clicking on a link I'm getting the error "whatsmyip.com refused to connect". Adding target="name-of-iframe" to all links doesn't work. HTML <html> <head> <script type="text/javascript" src="jquery-3.2.1.min.js"></script> …

Web Development javascript javascript-jquery php
0
466
Member Avatar for Texx

I need a little help. I have a web page that worked for about a year and suddenly In Chrome and Opera the full screen video stopped working. I have not made any changes to it since I published it, and I don't think I've made any changes to it. …

Web Development html-css video
Member Avatar for rproffitt
0
368
Member Avatar for TheEVOdev

Hi everyone, new to the message board. I saw online that this is a good place for info. Im currently new to the web dev scene. I started coding and am looking for relavant info and such regarding anything i need to know. Currently working on CSS, been taking awhile …

Web Development javascript
Member Avatar for Ella34
0
326
Member Avatar for JACK_49

Hello guys I'm trying to read a file copy content into a new file to a random directory: <?php error_reporting(E_ALL); $dirname = uniqid(); mkdir($dirname); $newFileName = '/'.$dirname.'/newfile.txt'; $newFileContent = 'someinfoinfile.txt'; if (file_put_contents($newFileName, $newFileContent) !== false) { echo "File created (" . basename($newFileName) . ")"; } else { echo "Cannot create …

Web Development file-system php
Member Avatar for AndrisP
0
273
Member Avatar for akhter_1

i have made leaves managment system ,now i want to mentioned leaves days in attendance register if employee take leave from 1-1-2019 to 4-1-2019 then 5 day display in attendance register as a (L) . kindly guide me how it will get done. here is my attendance register query in …

Web Development asp asp.net sql
0
352
Member Avatar for upendrau

how to fetch cricket scorecard to mysql database automatically for customization. i m planning to develop a game based on cricket. actually i am using php mysql database for it. i want complete cricket scorecard to mysql database automatically for customization. I m using snoopy class for content fetching from …

Web Development mysql php
Member Avatar for Shadab_4
0
1K

The End.