Our Web Development forum encompasses all of the serverside and clientside technologies related to building and developing a website from the ground up.

63 50 43 32 29 25 23 21 15 15
Member Avatar
I have a database to manage students 1. I want to Select students that are in level 1 fom the students table 2. Select the subjects from the subjects table 3. and echo the matching results on am html table any help?
by eternalcreator in Web Development ()
Member Avatar
I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried …
by gentlemedia 270 in Web Development ()
Member Avatar
I´m in disgrace with the framework Codeigniter version 2.2.0, it only displays the json response, no errors, no chart... Code **Model** function get_pata() { $this->db->select('theyear, cantidad_alumnos, rawkw, rawkwxgei'); $this->db->from('pdc_factor_gei'); $query = $this->db->get(); return $query->result(); } **Controller to handle data from Model and display in view;** function data_fik() { $data = …
by Mario A._1 in Web Development ()
Member Avatar
Working on law firm website. Different Lawyers have assigned different cases ( in same law firm). For that purpose it needs Family Tree implementation to collect clients history. There is main table `persons` personID primary key AUTO INCREMENT firstName lastName sex birthDate birthPlace deathDate deathPlace parents, spouse, childre all are …
by hrushi9 in Web Development ()
Member Avatar
Hi Daniweb, I noticed that [this website](http://bit.ly/2d0tjQn) first loads the lists before it gets its css mark-up. Is there a way to prevent this from happening? Thanks a lot!
by Saro_1 in Web Development ()
Member Avatar
So I'm making an OS in javascript/html. I made the login screen (although it's as secure as a calculator, it looks quite nice). I made the Operating System Interface using a little JavaScript and CSS, and put an iframe in the window. However, whenever I load the interface, it looks …
by mblan180131 in Web Development ()
Member Avatar
I have problem while calling jquery functions it generates double output while when we do highlight questions and crossout on html content sometimes highlight and crossout also not working with selecting using Ctrl+A or select all. highlight and crossout values i am storing to database so, we can remain next …
by Rahul_56 in Web Development ()
Member Avatar
I need to create a form with five dropdown select lists. Making a selection in any list will cause the other lists to repopulate. It's fine if the page refreshes in order to repopulate the lists, although eventually I'd love to have it happen dynamically (using Ajax or JQerry). The …
by INSPIREDNZ in Web Development ()
Member Avatar
I have problem while calling jquery functions it generates double output while when we do highlight questions and crossout on html content sometimes highlight and crossout also not working with selecting using Ctrl+A or select all. highlight and crossout values i am storing to database so, we can remain next …
by Rahul_56 in Web Development ()
Member Avatar
I have created template for user to user chat module. Need help to complete realtime chat. Need some validations like highlight chat window on message received if it is inactive. `to_id` is collected in script (`var userid`). how to collect `from_id` , if user is logged in via php. currently …
by hrushi9 in Web Development ()
Member Avatar
My question is related to an [answered question](https://www.daniweb.com/programming/web-development/threads/506078/parsing-xml-to-extract-attributes) that was asked here on the ever reliable forum - Daniweb. I have been trying to insert the parsed data as a string into mysql table in vain. This is what i am trying to do..... From the solution in the link …
by Amaina 14 in Web Development ()
Member Avatar
I have this code and need to have it on a table but the table is not creating. What am I doing wrong? <!DOCTYPE html> <html> <body> <script> var investment = 2000; var interest_rate = .12; var deposit_amount = 100; var start_age = 44; var end_age = 65; var beg_balance …
by Sylvia_3 in Web Development ()
Member Avatar
i am implementing dropdown menu in html on hover by using CSS . But the problem arises when i implement it in My Already developed template . I am not getting where it is getting wrong . I have set visibility:hidden and visibility:visible on hover but it is still visible. …
by Himanshu Chawla -5 in Web Development ()
Member Avatar
Hi all, I have made simple slide that slides block from the left to the right. I used requestAnimationFrame for repated tasks. It works. But one problem is that when blocks are moving sometimes freeze and i saw that sliding is not smooth. Where i made mistake in my code? …
by Azer_1 in Web Development ()
Member Avatar
I am now working on a project that allows high school students in Ghana study maths among themselves. I would like to embedded editor on the page but dont know how to go by it. Any help.
by Oliver_5 in Web Development ()
Member Avatar
Hi, I am a developer. I have been searching for best suited web development forums which provide helpful information on web development, so that I can get help from their active members for learning the Captcha Implementation with Javascript which is used to protect the website from the attack and …
by Aarav in Web Development ()
Member Avatar
currently I have a survey with 10 questions on a html/ php form. I use post data and then have a long insert statment. My code looks something like this. <php? $surveyid = $_POST['surveyid']; $q1 = $_POST['q1']; $q1comments = $_POST['q1comments']; $q2 = $_POST['q2']; $q2comments = $_POST['q2comments']; $q3 = $_POST['q3']; $q3comments …
by Joe_10 in Web Development ()
Member Avatar
Sir I have these codes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="-1"> <title>Test Page</title> <style type="text/css"> html { overflow: auto; } body { font-family: Georgia, "Times New Roman", Times, serif; } #container { position: absolute; …
by phphp in Web Development ()
css
Member Avatar
I have an xml file that looks like this <?xml version="1.0" encoding="UTF-8" ?> <dates> <date> <Item Name="History" Type="List"> <Item Name="received" Type="Date">2015/12/18 00:00</Item> <Item Name="accepted" Type="Date">2016/03/31 00:00</Item> <Item Name="aheadofprint" Type="Date">2016/04/14 00:00</Item> <Item Name="entrez" Type="Date">2016/04/15 06:00</Item> <Item Name="pubmed" Type="Date">2016/04/15 06:00</Item> <Item Name="medline" Type="Date">2016/04/15 06:00</Item> </Item> </date> <date> <Item Name="History" Type="List"> <Item Name="epublish" …
by Amaina 14 in Web Development ()
Member Avatar
I needed a script that would grab all the folders in the directory and add them to a dropdown list and allow the user to upload to there choosen folder. This is what i came up with. (upload script is not mine) Thought i would share.
by Tko_1 in Web Development ()
Member Avatar
Hi everyone, i'm having problem on what PHP code that is appropriate for me to search for a specific data from mysql database, help me with how to go about please
by gyno -5 in Web Development ()
php
Member Avatar
Hello i want to return data using jquery like this function countries() { var html=''; var j=''; var encodedata=JSON.stringify({}); var url=apiBaseUrl+'api/countries'; ajaxPost(url,encodedata, function(data) { if(data.countries.length) { $.each(data.countries, function(i,data) { html= '<div class="panel panel-default">'+ '<div class="panel-heading">'+'<a href="'+data.country_id+'" class="feed-author" target="_blank">'+data.name+'</a>'+'</div>'+'</div>'; }); } }); } and this is php function countries() { try …
by SimonIoa 39 in Web Development ()
Member Avatar
Dear Friends, I made login form in php ... when i login .... URL shows form Name in URL Bar.... that means i can open the from without username and password. for example. http://www.nig-bh.com/registration1/login.php this is login form when i enter username and password it opens http://www.nig-bh.com/registration1/enqrep.php ...after correct username …
by zebnoon1 -3 in Web Development ()
php
Member Avatar
heloooo please send me helper code in CI for downloading......
by mohammad shadab hussain in Web Development ()
php
Member Avatar
Hi guys just a quick question...when you upload a file to the database and the file name is saved and encrypted in codeigniter how do i make a link that when clicked will download the file associated with the id of the table entry? for instance this is my view …
by Ventech_IT in Web Development ()
Member Avatar
I am trying to follow the steps in an example on fpdfmakes webiste. However I am using sql server instead of mysql. Could someone give me some pointers so I can get this to work correctly? thanks <?php require('fpdf.php'); //Connect to your database $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Web Development ()
php
Member Avatar
I am using visual basic, javascript, and html. I am trying to use google hierarchy chart api. I works fine on localhost but when I try to move the same code to the server than I get the following error: Error: Object doesn't support this action <%@ Page Language="VB" AutoEventWireup="false" …
by Link_1 in Web Development ()
Member Avatar
I was trying to tweak some html headers due to change in content type and facing a weird issue When I execute the below code it doesn't gets email delivered at all $htmlheader = "From: $emailad\r\nContent-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n"; But when I add extra slash ( \ ) and double quotes …
by Brett_2 in Web Development ()
Member Avatar
Hello, I'm trying to use md5 in python3 using the attached code from hashlib import md5 password = 'pa$$w0rd' h = hashlib.md5() print(h.hexdigest()) put it gives me this error (cannot import name 'md5') and when i try to import hashlib only it gives this error (module 'hashlib' has no attribute …
by <HHH> in Web Development ()
Member Avatar
Hey friends, I am here to share a query in javascript development forum, that how to scrap a website using nodejs which includes getting, parsing & extracting the content of a webpage . Read & share your views about scrapping the content of a website.
by Aarav in Web Development ()
Latest Posts