199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SpottyBlue

When I was debugging the database page (Database.aspx), I encounter one problem. When I want to edit something by clicking the “Edit” button, some values were mismatched to other options instead to matching to the related option. ![help.png](/attachments/large/4/b0fcde48465b822d7f762bd21534c3cc.png "align-center") Actually, if I click the "Edit" button in the Item template …

0
127
Member Avatar for PulsarScript

Hi all ,how to create multiplication table,based on user input.User enters 1 value in one box,second value in second box and pressses the create table button for output? Regards

Member Avatar for pixelsoul
0
90
Member Avatar for samyakonline

ASP is a rigid language and it has tighter error checking tool than PHP has; its syntax is designed over VB. On the other side, PHP has wider range of in-built functions with better flexibility; its syntax is gained from C++. PHP is much friendlier than ASP. Which language has …

Member Avatar for JorgeM
0
133
Member Avatar for apkrieg

Okay, so I am learning Assembly and I started with 32bit and `bswap` seemed to work fine. Now I have this code main.c #include <stdio.h> #include <stdlib.h> extern int asm_proc(void); void print_bits(unsigned long long bits) { for (int i = 0; i < sizeof(unsigned long long) * 8; i += …

Member Avatar for apkrieg
0
823
Member Avatar for Niloofar24

Hi everybody! How can i call a function from Tkinter without using Buttons? I have a test.py file and there is a function def message in it: def message(): print('Good morning') from Tkinter import * tk = Tk() tk.mainloop() I want to type test.py message from linux terminal and the …

Member Avatar for sneekula
0
11K
Member Avatar for markdean1989

I wonder why this program does not do any changes to the text file that I am trying to modify. Scenario: My program uses the Fstream header file, I declared infile as IFSTREAM and outfile as OFSTREAM. I simply want to transfer data from infile to outfile. The data is …

Member Avatar for markdean1989
0
521
Member Avatar for Tom_11

How would one create a hidden form on a web page and only open the form when the button is clicked?

Member Avatar for diafol
0
289
Member Avatar for Tom_11

Guys, Does anyone know how i can get the current day highlighted on the calender? ?php $monthNames = Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"); ?> <?php if (!isset($_REQUEST["month"])) $_REQUEST["month"] = date("n"); if (!isset($_REQUEST["year"])) $_REQUEST["year"] = date("Y"); ?> <?php $cMonth = $_REQUEST["month"]; $cYear = $_REQUEST["year"]; …

Member Avatar for pixelsoul
0
181
Member Avatar for techker

Hey guys i got this code working 50%.. i have a login that passes the info to my main form that i need to search the txt file and show all info regarding info(NIP) in my txt file name,account number,cash,Nip so i search for the Nip since that is the …

Member Avatar for techker
0
155
Member Avatar for Niloofar24

Hello everybody! Me again with an other question :) I have a file with a list and 3 functions in it; view, sort, append. I used pickle to save data changes in to an other file (films.db). Imagine you want to use this programe for the first time on your …

Member Avatar for Niloofar24
0
2K
Member Avatar for mf24k

looking easy way to input them in pc. i have hundres.is there a bar code machine thats hooks to pc?

Member Avatar for jhao1205
0
83
Member Avatar for superlucile

Hello ! I'm trying to build a link between an applet in java and php. My applet in Java sends data to php. And then php writes data in the database. I use json object my code in java : public static void main(String[] args) { // TODO Auto-generated method …

Member Avatar for diafol
0
339
Member Avatar for rhodoscoder

I've worked with alot of jquery galleries before but this one won't work.I'm using Twitter bootstrap and I wonder if it's JS bootstrap files are interfering with the JS file for the Unslider jquery gallery -> [Unslider](http://unslider.com/) that I'm using. ` <!-- Bootstrap Core CSS --> <link href="css/bootstrap.min.css" rel="stylesheet"> <!-- …

Member Avatar for rhodoscoder
0
270
Member Avatar for robert.swaine1

Hello everybody, could someone please urgent help me with this assignment question? I just need some tips on why my prompt dialog is not working correctly. The script is below after the assignment question... Finish the coding of the class LightController by completing the public instance method runLight(). This method …

Member Avatar for stultuske
0
254
Member Avatar for SimonIoa

i have formatted my pc i am trying to install Flash Builder again and i am getting an error. Installer User Inteface Mode not supported. The installer cannot run in this UI mode. To specify the interface mode, use the -i command line option followed by the UI mode identifier. …

Member Avatar for SimonIoa
0
163
Member Avatar for Ahmad Imran
Member Avatar for NathanOliver
0
141
Member Avatar for wawahida

i have a form that contain several disabled fields for date. what i want is the date fields should not return any values when i submitted. but, it returns 1970-01-01 values everytime submit the form. what should i do? please help me T____T

Member Avatar for Tpojka
0
143
Member Avatar for Ventech_IT

Hi guys i want to know how i would store uploads(path's) in the database here is my Controller, View what should go into the Model? Controller <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Upload extends CI_Controller { function __construct() { parent::__construct(); $this->load->helper(array('form', 'url')); } function index() …

Member Avatar for diafol
0
232
Member Avatar for sanjeewa.abeywardana

I have heard that table security for data stored in the table can be made by storing Hashbyte data in a column. So anyone comes and change values manually in a table will be identified and that record be ommited for further calculation Need help on these areas CREATE TABLE …

Member Avatar for Ketsuekiame
0
194
Member Avatar for kouty

Hello friends. I want to create a list of sublists E.G. i = 0 pack = [] list = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20] while i < 17: sublist = list[list[i]: list [i + 3]] pack = pack + sublist i += 1 print (pack) the output is: Type "copyright", "credits" or "license()" for …

Member Avatar for sneekula
0
206
Member Avatar for Sathiyaraja

Hi All, Im new to xsl., In my implementation im converting a language code to a language value by lookup from a xml file. Input: <XML> <Name>shades</Name> <Languagecode>555</Languagecode> <XML> output: <XML> <Name>shades</Name> <Languagecode>hindi</Languagecode> <XML> Lookup XML table:(external file) <Languages> <Languagecode>555</Languagecode><Language>hindi</Language> <Languagecode>556</Languagecode><Language>tamil</Language> <Languagecode>558</Languagecode><Language>telugu</Language> <Languagecode>559</Languagecode><Language>malayalam</Language> <Languagecode>557</Languagecode><Language>bengali</Language> <Languagecode>554</Languagecode><Language>punjabi</Language> </Languages> I tried with Key …

Member Avatar for Sathiyaraja
0
4K
Member Avatar for mtatadotcom

hello friends, may anyone help me with a code in c for the mechanism of using an atm machine, conditions 1.acc balance starts at zero 2.do not use global variables 3.loop the main menu after every transaction until user presses exit 4.after every transaction user returns to the main menu. …

Member Avatar for chandrasekhar77
0
6K
Member Avatar for sky_B
Member Avatar for dodo11
0
160
Member Avatar for leyla

Hi again, I'm writing a code to retrieve the StudentID from a table in my database and then display it in a textbox. The code to retrieve the ID is on one form and I want the value to display in the textbox in another form. The code that I'm …

Member Avatar for leyla
0
1K
Member Avatar for dany12

I have only one week to learn java at a intermediate level. What books tutorials you recomend? Another thing I have to learn is java Algoritms and Data structures. Can some one show me how? I have a little bit understanding of arrays if while for switch classes try catch …

Member Avatar for stultuske
0
245
Member Avatar for Jack_11

I'm making a program that will let you access a system via encrypted code from a USB. But I can't seem to figure out how I would go about making the user login to the computer via USB. I'll add the code in the code so far. /* This is …

Member Avatar for happygeek
0
426
Member Avatar for KhuramJan

I am using Visual Studio 2012 Ultimate , MySql Database , MySQL ODBC 5.1 Driver I have created a user DSN from Administrative tool in Control Panel (same on both my development PC and Server computer i-e Windows Server 2008) I have deployed web application from my PC to Server …

Member Avatar for KhuramJan
0
606
Member Avatar for divinity02

hi anyone I am doing a car insurance program in java and i need to understand this error. the program goes like this. it depend on the driver's age and how many accidents he had. from 1 to 5 it have difference charges with additional surcharge an for 6 you …

Member Avatar for hericles
0
192
Member Avatar for Bensirpent07

So I am planning on being a full time web-developer. But at the moment I'm not sure really what kind of college options I have. I've looked but I haven't really found any kind of "web-developing degrees". I always thought I would go to college but uh... well I'm not …

Member Avatar for pixelsoul
0
110
Member Avatar for coder91

Hi, trying to get the username of the user logged into a computer but it doesn't appear to be working. I was using `Label1.Text = User.Identity.Name;` to check if it did work but it wasn't displaying anything. The only reason I need the username is to send it through to …

Member Avatar for JorgeM
0
166
Member Avatar for Jack_11

Hello. I'm a thirteen year old programmer. I find it strange how I can learn the core of a language in about half an hour. No joke. I've been programming for about a year, and I know about half a dozen languages. Including C/C++, Lisp, Python, Perl, SQL, Java, C#, …

Member Avatar for <M/>
0
673
Member Avatar for newbie14

I have the following snippet of codes first each of the thread is a socket waitign for connection where its gets a connection does all he necessary. Thereafter another section in the run it does this //run a new db connection and does a select where all those have not …

Member Avatar for rubberman
0
204
Member Avatar for PerpyProgrammer
Member Avatar for kouty

Hello Daniweb! I learn in the Computer Sciences Circle, [Click Here](http://cscircles.cemc.uwaterloo.ca/) in the chapter 8. there strings, for exemple "sse" and "assessement" or "an" and "trans-panamian bananas", and we just need to count the occurences of thr furst in the second. My wrong code is """ Cet exercice consiste a …

Member Avatar for Gribouillis
0
409
Member Avatar for phfilly

Hi everyone, I'm wondering about a potential problem I might get. My problem is lets say I have 2 tables one called **speakers** and **clients**. In the client table the client has the speaker ID's of 1,5,8(SAVED in a STRING field) - *so I'm using explode() to get the values*. …

Member Avatar for phfilly
0
217
Member Avatar for Siberian

Is it possible whether with JS or jQuery to take an image, make it fit a container proportionally if it's too big for the container, then export the results to a PNG image, saving the step of redoing the image from scratch in a smaller image size ?

Member Avatar for Traevel
0
352
Member Avatar for Niloofar24

Hello! I have a file with a list and 3 functions in it; view, append and sort functions. I want to use pickle to save data changes in to another file inorder to retrive it next time. I have a list, when i call function VIEW, i see the primary …

Member Avatar for sneekula
0
179
Member Avatar for santunu23

I am trying to collect data from amazon market place web service in Scratchpad i get all the values.I am downloading php client library from mws developer website and try to run the code for display those files into browser POST mws.amazonservices.com /Products/2011-10-01 AWSAccessKeyId=AKIAJP5PIHAAXLU6NLDQ&Action=ListMatchingProducts&MarketplaceId=ATVPDKIKX0DER&Query=shoes&SellerId=A2LZO1DGHI8M8V&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2015-01-18T06%3A24%3A58Z&Version=2011-10-01 and according to the post we …

0
168
Member Avatar for london-G

Hi Guys, I managed to fill the jtable with the table from the database. Now I want to add specific rows from the database table into the jtable. So I have a textfield and a sql statement: So "Select * from tbl where name =?" I want to add all …

Member Avatar for london-G
0
215
Member Avatar for london-G

Hello, I am trying to connect to a hosted database on netbeans(java). So far I have the following: Connection con = null; Properties conProps = new Properties(); conProps.setProperty("user", "user"); conProps.setProperty("password", "password"); try { con = DriverManager.getConnection("jdbc:mysql://host:3306/dbname", conProps); String sql = ("SELECT * from products"); st = (com.mysql.jdbc.PreparedStatement) con.prepareStatement(sql); st.executeQuery(); rs …

Member Avatar for london-G
0
381
Member Avatar for PulsarScript

Hi all,here is the code c# Array.Copy,what does the o means in the code block? using System; class Program Hi all what does the 0 means in the code block? using System; class Program { static void Main() { int[] values1 = { 4, 4, 4 }; int[] values2 = …

Member Avatar for deceptikon
0
558
Member Avatar for gcardonav

I cleaned up my code but now when I run it I am getting an error. I am not sure where it is coming from since it was working before I added the nested view and did not change the controller. Here is my [plunkr](http://plnkr.co/edit/vN06ZQYWW0cpO4izBtgT?p=info). Let me know if there …

Member Avatar for Troy III
0
282
Member Avatar for it@61@sec

I want to copy all the files from one directory to another using the fread() and fwrite()-statements. Some of these files are rather large in size, and that's why I want to calculate who long the transfer will take. (Later I will use this information to show a progress bar …

Member Avatar for it@61@sec
0
1K
Member Avatar for giao.can

I have a table like code html belows I want to store value of check box and corresponding text value into 2 array in PHP For example if i check box ID_1, ID_2 the values of these check box are stored in $array_box ( 74, 75) and values of corresponding …

Member Avatar for Mashetty
0
5K
Member Avatar for Haroon_3

I want to convert a code from C to C++ , but some statements are very difficult to me , and I have not enough time to make the whole code in C++ from beginning, So anyone who can help me in this regard please comment me then I will …

Member Avatar for dilantha.prasanjith.96
0
475
Member Avatar for riwakawd

When there should be a error it does not show. I can not seem to get the erorrs to work in the correct order How can I improve my file upload errors to work in correct order? public function upload() { $name = $_FILES['userfile']['name']; $tmp_name = $_FILES['userfile']['tmp_name']; $type = $_FILES['userfile']['type']; …

Member Avatar for riwakawd
0
388
Member Avatar for blueguy777

Unable to execute the sql query, only dispaying blank page. <?php require('fpdf.php'); $today=date('d_m_Y'); $hostname = "localhost"; $database = "developer"; $username = "root"; $password = ""; $conn = mysql_connect($hostname, $username, $password) or die(mysql_error()); mysql_select_db($database, $conn); class PDF_result extends FPDF { function __construct ($orientation = 'P', $unit = 'pt', $format = 'Letter', …

Member Avatar for pritaeas
0
201
Member Avatar for riwakawd

I would like to know if possible in my php codeigniter modelto be able to insert my file names where it matches up with the link insert post. The link post are in array i.e. <input type="text" name="link[]" /> Not sure whats best the name of the file inserts but …

Member Avatar for mtho
0
6K
Member Avatar for mjbor1

i developing a poster software, when i'm trying to post a link it give the following exception facebook api exception #100-invalid here's my code public static bool post(string accesstoken,string status,string link) { try { FacebookClient fb = new FacebookClient(accesstoken); Dictionary<string, object> postArgs = new Dictionary<string, object>(); postArgs["message"] = status; if …

Member Avatar for mjbor1
0
1K
Member Avatar for riwakawd

On my readURL() function in my scrtipt. I would like to know what would be the best method in being able to auto get the ID from my img tag. Because I have mulitple img rows that get created with own id. What would you think so that the reader.onload …

Member Avatar for DaniWebUser_1
0
633

The End.