52,566 Archived Topics
Remove Filter ![]() | |
Hi I'm trying to find a script that will allow me to set multiple options eg. option 1 = 40, option 2 = 15, option 3 = 30 etc where the user can select any number of the options and it will total the numbers up for them example there … Web Development php | |
Title pretty much says it all. I want a background image to have a linear gradient fade to transparent. I've faded the image out to a color by overlaying a gradient on top of it, which unfortunately would only help me if my site background is a solid color. (see … | |
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 = … Web Development javascript javascript-jquery mysql php | |
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 … Web Development html-css javascript javascript-jquery operating-system os-x | |
i am doing this in all my Controllers for Menu But i want to do that i give it once in core folder of CI Any Suggestion ? $data['cms_menus']=$this->database_model->GetRecords('cms_menus',false, array('FKMenuID'=>null)); foreach ($data['cms_menus'] as $key => $datas){ $data['cms_menus'][$key]['childs']=$this->database_model->GetRecords('cms_menus',false, array('FKMenuID'=> $datas['PKMenuID']));} ` Web Development | |
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? | |
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 … Web Development javascript-jquery storage | |
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 … Web Development javascript javascript-jquery mysql php | |
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 … Web Development asp html-css javascript javascript-jquery php | |
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 … Web Development javascript javascript-jquery mysql php | |
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 … | |
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 … Web Development javascript | |
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. … Web Development html-css javascript | |
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? … Web Development javascript | |
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. Web Development ![]() | |
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 … | |
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; … Web Development html-css ![]() | |
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" … | |
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 | |
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 … Web Development api javascript javascript-jquery json ![]() | |
heloooo please send me helper code in CI for downloading...... Web Development php | |
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 … Web Development file-system php | |
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 … ![]() | |
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" … Web Development asp asp.net javascript | |
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 … Web Development php | |
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 … Web Development python | |
This is my soap code try{ $client = new SoapClient( "https://www.tntexpress.com.au/webservices/booking.svc?Wsdl" , array('username' => "xxx",'password' => "yyy") ); $params = array( "SenderAccount" => 30017823, "SenderDetails" => "ROSEHILL 2142 NSW EAST", "CollectionDetails" => "ROSEHILL 2142 NSW EAST", "ReceiverDetails" => "MELBOURNE 3002 VIC", "ItemCount" => 1, "TotalWeight" => 10, "MaxLength" => 10, … Web Development php | |
Hi all! As of recent, I have been attempting to change a startup form using normal procedures (Project --> Properties -->Application --> Startup form) to no avail. The old startup form (login) still continues to work as a startup one. I tried: 1. Rebuilding the solution 2. Rebuilding [project name] … Web Development vb.net visual-studio | |
**Problem** when remove any course from table list html his position in center or first it make problem in index in database **Details** IF I have list of courses as following : Delphi Flash Photoshop IF I remove flash by JQUERY remove button then click save button it delete flash … Web Development asp.net javascript javascript-jquery | |
I'm planning to create a web project, I'm wondering Angular 2 is stable or not. Or Should I work with Angular 1 now ? I scare that Angular 2 is not released now, it means that maybe it has a lot of issues. I really don't want to go so … Web Development angularjs javascript | |
Hi, can we import .xls file in mysql? or how to upload .csv(Comma delimited) with multiple language using Load data? how to save multiple languages in .csv(Comma delimited) ? Web Development file-system mysql php | |
I am a member of another forum and forgot my password, so I clicked the "Forgot password" link and was told "fill this form out and we'll send you your lost password" or words to that effect. It occurred to me that I had never seen language like this and … Web Development cybersecurity | |
![]() | Hi all, I have a web application written in ASP.NET. All is working ok, except that I would like to compress the data being returned. The data is basically a List of custom models. Currently I do something like: `HttpResponseMessage json = Request.CreateResponse(HttpStatusCode.OK, my_models_list);` and return this from the method. … |
I want to check if the username existed in my database against the input of the user after the button is clicked. If the username existed, it will show "Username Not Avaliable" in the span and the username textbox will be highlighted in red. I tried to use ajax for … Web Development java-jsp javascript javascript-jquery | |
So I'm having a huge brain fart here and I know for a fact I am going about this the wrong way. Unfortunately, I can't refer to previous work I've done where I have done this correctly as I no longer have access to them. I have my index page … Web Development javascript json php | |
Ok, so this site sell me on developing a website saying "Death to the DIY" MoPro is another cookie cutter platform that says they will build it but..... well you tell me. eeshop.us I need help to understand how to put content, products and vblogs on the site. And if … Web Development sql | |
Hi, All Presently I am working on a MLM (Multi Level Marketing) Software using PHP & MySQL. But I am not being able to display the Down line Tree of any particular member. I am using Pre order Tree. But my product should support Spill Over Binary Tree. Please Help … | |
Hi, I am new to this concept. How to export data from database in EXCEL for various standards with "dynamic headings" . | |
Hello, i want to make a categories menu which each will have its own sub-categories and that category will have own sub-categories im trying to make with arrays but i'm not really good at it.. im trying right now with bunch if statements but is there any other method of … ![]() | |
[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display … | |
Hey everyone, was looking around and couldnt find any courses that dive deep into HTML / CSS. I finished the code academy course and want to go more into html and css. Does anyone know of any? Thanks Web Development html-css | |
Hello, I have a multidimensional array i like to make every category to be clickable and to show its own sub-categories i have something like this... pls help to achieve this. function makeList(array $Array) { $Output = '<ul>'; foreach($Array as $Key => $Value) { $Output .= "<li><input type='submit' name='value[$Key]' value='$Key' … | |
<?php error_reporting(E_ALL ^ E_DEPRECATED); // connection to database include 'database.php'; ?> <?php if (isset($_FILES['image']) && $_FILES['image']['size'] > 0) { //// Temporary file name stored on the server $tmpName = $_FILES['image']['tmp_name']; // // Read the file $fp = fopen($tmpName, 'r'); $data = fread($fp, filesize($tmpName)); $data = addslashes($data); fclose($fp); } $name=$_POST['name']; $email=$_POST['email']; … | |
I have been trying to get my PHP script return two different pages namely: get2015 and get2016. The aim is to have these two pages have pagination links below them. To achieve this i have written two scripts in two different files that look like this: file 1 = functions.php … | |
has anyone you seen this one before... it happens when my users tries to purchase a membership package. When it goes to the billing/payment page it shows this error.. Warning: Cannot modify header information - headers already sent by (output started at /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-content/themes/superlist/header.php:11) in /home/content/a2pnexwpnas02_data01/92/3515092/html/wp-includes/pluggable.php on line 1174 Web Development php | |
I have 2 tables that look like this.(see below). Table one is named tableX and table 2 is named tableY. +-------+---------+ | count | post_id | +-------+---------+ | 3 | 7209 | | 3 | 7210 | | 1 | 7211 | | 1 | 7212 | | 1 | … | |
Hi everyone I'm creating a multi-part registration form using session, I have no problem with the first two page getting post value but whenever I validate the third page for error, it redirects me always to the first page where it should be redirected to the 2nd page once it … ![]() | |
I am trying to load text into a form (textarea) from an existing text file resident on the server. I am having no luck. The code I am using (with variations) is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title>SVP Data</title> <link rel="stylesheet" href="main.css"/> </head> <body style="background-color:#FFFFFF"> <title>oakhurstsvp.org</title> <link … Web Development php | |
I am trying to insert HTML code into my website which will setup a text area that all users can see, edit, and save for other users. I know that the text that is entered must be saved on a file that has be be resident on the server. I … Web Development asp.net javascript ![]() | |
Dear Friends, I am facing a problem wuth Dropdown list menu and slider. When i click manu dropdown list is opening behind the slider. Please, check my HTML code and css. <!DOCTYPE html> <html> <head> <title>Hello!</title> <link type="text/css" rel="stylesheet" href="styl.css" /> <?php include ("header.php"); ?> </head> <body> <div id="container"> <div … Web Development html-css |
The End.