199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hrushi9

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 …

Member Avatar for jkon
0
3K
Member Avatar for wikit

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 …

Member Avatar for Phaelax
0
477
Member Avatar for Phaelax

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 …

Member Avatar for Phaelax
0
457
Member Avatar for Sponge_1

Now, i have Set up the Connection to MySQL,and i have this Layout: |ID|Class|Name|Password| The Names are ALL shown in Combobox2.But i have a Combobox1 with Numbers.Now if i select 1, i want only the Users with Class 1 to show in my Combobox2,when i Select 2, only Class 2 …

Member Avatar for Sponge_1
0
210
Member Avatar for Mario A._1

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 = …

Member Avatar for Mario A._1
0
373
Member Avatar for mblan180131

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 …

Member Avatar for Matt_17
0
451
Member Avatar for rjusman90

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']));} `

Member Avatar for cereal
0
1K
Member Avatar for IcyFire

I made a client server program to send an image from the server to the client. The image is being sent being but its not showing up in client window immediately. If i click send on the server then i minimize (or maximize) the client window then open again the …

Member Avatar for rproffitt
0
7K
Member Avatar for manugm_1987

Hello Can anyone please help me out in how to get or read two values from single textbox. i.e when i read the first value it should be stored in string str1 , when i click button the textbox shld be cleared and shld wait to accept second value.The second …

Member Avatar for rproffitt
0
980
Member Avatar for eternalcreator

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?

Member Avatar for eternalcreator
0
388
Member Avatar for gentlemedia

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 …

Member Avatar for gentlemedia
0
1K
Member Avatar for hrushi9

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for Rahul_56

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 …

0
236
Member Avatar for Bronwyn_1

My client is wanting a 'simple' stock update system in MS Access. I have a form and subform (which is a packing slip) where the user will select the style of shoe eg ASHE_Choc and then enter the number of stock wanted for each size eg 5 for size 6_40. …

Member Avatar for Bronwyn_1
0
259
Member Avatar for INSPIREDNZ

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 …

0
155
Member Avatar for AssertNull

I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those …

Member Avatar for AssertNull
0
379
Member Avatar for Amaina

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 …

Member Avatar for Amaina
0
624
Member Avatar for Sylvia_3

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 …

Member Avatar for Sylvia_3
0
276
Member Avatar for Himanshu Chawla

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. …

Member Avatar for gentlemedia
0
590
Member Avatar for Azer_1

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? …

Member Avatar for gentlemedia
0
185
Member Avatar for Stefce

Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) …

Member Avatar for cereal
0
377
Member Avatar for sarah_15

Hi, I'm staruggling with this program can I get some help please? Write a program called CalculateInvoice that allows a user to enter multiple invoice items for multiple customers and calculates a total invoice amount. For each customer, enter a customer number and customer name. Then, for each customer allow …

Member Avatar for JamesCherrill
0
1K
Member Avatar for seitan

to all programmer out there! i'm a new visual basic 6.0 user.. i wonder if there is possibility that i can run .exe program in visual basic that without installed visual basic? or is there any application needed. thanks in advance..

Member Avatar for Paul Simon
0
1K
Member Avatar for Saif_3

I wrote a function that is supposed to crop a 2d vector starting at point r, c. The rectangle from there should have rows rows and cols columns. void pgm_crop( vector <IVec> p, int r, int c, int rows, int cols ) { int count = 0; //first count variable …

Programming c++
Member Avatar for AssertNull
0
588
Member Avatar for Cory_1

I am having trouble with an OZ Program (Mozart Programming). I have a code to find the maximum element in a list. The code I have so far is: local fun {MaxList L1} case L1 of nil then 0 [] X|Xr then if {MaxList Xr}>X then {MaxList Xr} else X …

Programming
0
255
Member Avatar for imso

As what was stated on the header I want to implement either a "paint" or "eraser" function whichever feature more convenient for user to edit paint/censor unwanted parts of a photo displayed on a imageview before uploading it to a server in the edited format and a redo function if …

Member Avatar for imso
0
292
Member Avatar for Oliver_5

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.

Member Avatar for diafol
0
156
Member Avatar for Joe_10

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 …

Member Avatar for ryantroop
0
538
Member Avatar for ddanbe

I have a `List<double> MyList` something looking like this: 4.75/1.01/5.66/NaN/42.42/3.33 I’d like to get the minimum value of 1.01 out of it, but I get d = NaN when doing `double d = MyList.Min();` Tried, after some long internet strolls, something with LINQ to no avail. Some LINQ afictionados around …

Member Avatar for ddanbe
0
265
Member Avatar for phphp

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; …

Member Avatar for diafol
0
284
Member Avatar for newbee_jv

Hellow everyone, I have a populated LinkedHashMap, and I need to insert another key/value to it, but it appears that it replaces it. How can I append it? Here's the example: Map <String, String>invalid = new LinkedHashMap<String, String>(); invalid.put("111111111111111111111", "Invalid Message # 1"); Map <String, String>valid = new LinkedHashMap<String, String>(); …

Member Avatar for JamesCherrill
0
175
Member Avatar for Amaina

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" …

Member Avatar for Amaina
0
868
Member Avatar for Lily_3

heyy, i'm having problems with this . can anyone help? i really need help to change this into a pseudocode. Age < 55 Male : 0% tax if annual income < 10 000, 10% tax if 10 000 ≤ annual income ≤ 50 000 20% tax if 50 000 < …

Member Avatar for FC Jamison
0
222
Member Avatar for gyno

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

Member Avatar for Atli
0
189
Member Avatar for SimonIoa

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 …

Member Avatar for diafol
0
244
Member Avatar for AssertNull

I am developing a Graphics package in Java that allows the user to draw triangles, squares, circles, etc. and group/move/manipulate them in order to make animated stick-figure movies. I have an interface that allows users to add figures with GUI buttons, drop-downs, mouse-clicks and the like, and also a text …

Member Avatar for AssertNull
0
1K
Member Avatar for Sashika_1

I have two forms. Form 1 and Form 2. When I choose item from the combo box , Form 2 load. After I fill Form 2 text boxes and click 'save' button I want to load these text boxes values to Form 1 text boxes and later close. Please anyone …

Member Avatar for rproffitt
0
295
Member Avatar for AssertNull

I've been debating where to put this. Maybe the Community Center. Feel free to move if necessary. I'm sticking it in Software Development because it has to deal with Software Development, but it's more of a general topic involving different levels of expertise and familiarity, what one's "lane" is, and …

Member Avatar for AssertNull
0
241
Member Avatar for Sashika_1

Hi guys. Today I want help from you experts. This will help others as well. Okay. Directly to the topic. My senario is this. I want to save image to mysql database. By this way. There was table contain two data columns. which are ID and Image path. So now …

Member Avatar for Sashika_1
0
985
Member Avatar for Vsrkprasad

i down loaded 24 c++ programs from the MIT ( Massachusets institute of technology) web site. when i compiled the programs all the programs are giving the same warning messages " functions containing for, while, switch are not expanded inline". if i remove the word inline from the programs will …

Member Avatar for rproffitt
0
1K
Member Avatar for HenCa

I have an Archive Static Library file is called "Web Server.a". I need to recompile it with my updated .h and .c file in the same name folder "Web Server". In order to recompile it I was told that I need to use GNU. I used to use Cygwin for …

Programming c web-server
Member Avatar for rubberman
0
289
Member Avatar for mariam_4

i should to move the biggest value to the last index in the array then to print the array. when i print it i get things like letters, smiles... what is the wrong in the code? .model small .stack 100h .data array db 3,8,5,3 n equ 4 b db dup …

Member Avatar for rproffitt
0
281
Member Avatar for mohammad shadab hussain
Member Avatar for Reverend Jim
0
102
Member Avatar for Ventech_IT

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 …

Member Avatar for cereal
0
1K
Member Avatar for zachattack05

The Membership table for our ASP.NET site has the encrypted passwords and password salts stored when a user logs in. The site is already served over an HTTPS connection, but we would like to give our clients the ability to download and save certain files and documents. We would like …

Member Avatar for rproffitt
0
589
Member Avatar for Joe_10

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 …

Member Avatar for diafol
0
2K
Member Avatar for Link_1

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" …

Member Avatar for Link_1
0
3K
Member Avatar for Brett_2

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 …

Member Avatar for Atli
0
207
Member Avatar for rvotri_1

I'm noteven sure how to ask about it.. Lol... The fact is... I have my own "autocliker" thing that i use to auto repost my itens to sell over the internet in specific sites. So work this way. I have around 40 advertising itens, and to keep'em update i use …

Member Avatar for rvotri_1
0
214
Member Avatar for <HHH>

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 …

Member Avatar for <HHH>
0
2K

The End.