199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for garymae14

hi !! i want to ask f how to add two values in php ? can u give me a sample code ? tnx and Godbless

Member Avatar for cereal
0
94
Member Avatar for vishal1949

I am supposed to make a charstack program that has to run an error. This is the Question: [COLOR="Red"]Add explicit error reporting for stack underflow via a checked exception (i.e., one that must be declared and caught). Provide a main program that tests this new capability.[/COLOR] I don't what the …

Member Avatar for JeffGrigg
0
450
Member Avatar for bettybarnes

hi guys i've got a simple problem with fibonacci sequence.. I use tasm and my processor is amd and this, so far, is my code: [CODE].model small .stack .code org 100h start: mov ah, 02h mov cx, 07h mov bl, 31h mov dl, 30h A: add bl, dl int 21h …

Member Avatar for faroukmuhammad
0
271
Member Avatar for spawn2004

i need help with preg_match i have [CODE] if (!preg_match('/^[a-zA-Z0-9-_]/', $filename) ) { print $error=... }else{ upload... [/CODE] How to improve the preg_match so i can use only a-zA-Z0-9 and this special characters "-_" nothing more. because as i did it when i have file with name abc def.pdf for …

0
83
Member Avatar for Virangya

hi, i need to build a slider. which is not there in the page when it loads. then after few seconds it appears and slides from the right hand side of the window and stops at some position on the screen. then after few seconds it changes its image into …

Member Avatar for Virangya
0
186
Member Avatar for 54uydf

is it possible to import say 10 excel files into DB at once? like in PhpMyAdmin, I go and import each file one by one and they are added as new tables. is there some kind of php code I can write to take all files in X folder and …

Member Avatar for 54uydf
0
408
Member Avatar for lordjordysmith

i have been looking everywhere for an answer to this and i still havent found one that works what i want to be able to do is display the details of the user that is logged in but instead it shows the whole database here is my code: [CODE=php]<?php require('authenticate.php'); …

Member Avatar for lordjordysmith
0
1K
Member Avatar for ghost_from_sa

Hi guys, I seem to have come across a weird issue in internet explorer. I've been working on doing regular expressions for a register form, and I've checked it in Firefox, and Chrome and it seems to work for both of them but yet it doesn't work for Internext Explorer …

Member Avatar for vibhaJ
0
253
Member Avatar for 54uydf

I added an editor from this site [url]http://dhtmlx.com/docs/products/dhtmlxEditor/index.shtml[/url] it works when I add words but when I click submit the text doesn't go through the POST how do I do this? I added a textarea like in one of the examples on that site, and another button that when clicked …

Member Avatar for AlexandraKl
0
327
Member Avatar for CFROG

I'm receiving an 'undefined index' error when calling a new window and I can't quite figure out why. Seems to me like the variable is not being passed, or holds no value, and again I can't figure out why. I use an identical code for 'state' with no issues. Here …

Member Avatar for mwita
0
145
Member Avatar for vinu4u4ever

[code]website_name_txt.DataBindings.Add("Text", ds, "vinu_personal.WebsiteName"); website_address_txt.DataBindings.Add("Text", ds, "vinu_personal.WebsiteAddress"); username_txt.DataBindings.Add("Text", ds, "vinu_personal.MyUsername"); password_txt.DataBindings.Add("Text", ds, "vinu_personal.MyPassword"); others_txt.DataBindings.Add("Text", ds, "vinu_personal.Others"); con.Close(); this.Refresh();[/code] can u plss mention the solution.

Member Avatar for Mitja Bonca
0
130
Member Avatar for baby_c

Hi friends,I got a problem down here.. Ok here's part of my First GUI code. all I want to do is locate the[ICODE]labelImage[/ICODE] on the bottom half of the [ICODE]panel[/ICODE].. any idea..? I tried the following steps.but it didn't help Set the container's layout manager to null by calling setLayout(null). …

Member Avatar for baby_c
0
190
Member Avatar for jayuma

Am new to socket programming.Can you please help me with this issue I need to connect two computers which is already under some network using C#. After it gets connected I need to know the details of the "Task Manager" of the connected computer - (If any pogram/file is running …

Member Avatar for Ketsuekiame
0
267
Member Avatar for Tekkno

I have around 20 tables in my database. I want to count every row of every table using COUNT and get a total. I have tried doing a separate select statement for each table then using UNION but I cannot find a way to join the results to get just …

Member Avatar for Oca13th
0
195
Member Avatar for JoshuaBurleson

Is there a way to hide or at least automatically minimize the "shell-like" tkinter window, while running it?

Member Avatar for TrustyTony
0
356
Member Avatar for emulman

in a my page i have create che code for a modal dialog box in jquery: [CODE] <script type="text/javascript"> $(document).ready(function() { $('#dialog').dialog({ autoOpen: false, height: 280, modal: true, resizable: false, buttons: { OK: function() { $(this).dialog('close'); } } }); }); </script> [/CODE] i should want the window appears if a …

Member Avatar for emulman
0
1K
Member Avatar for jesminya

I'm new here, but it looks like an awesome place to get some help. My assignment is to write a recursive function that determines the value of a unit of Pascal's triangle given the row and column, then use that to display the triangle with n number of rows. It's …

Member Avatar for Onlineshade
0
1K
Member Avatar for markdean.expres

I would like to create a textbox (search engine) that can search for items in a database that contains text as that keyed in the textbox. I am already aware of this code: bindingsource.filter = "table Like '" & textbox & "%'" EX: what I want is that when I …

Member Avatar for markdean.expres
0
135
Member Avatar for Aties

sir i have one json i want deserlize this json how will i do iam try out but "Type 'System.String' is not supported for deserialization of an array." error coming here is my code : in cs file [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using …

Member Avatar for Aties
0
1K
Member Avatar for hughesadam_87

Hey everyone, I'm checking some bessel functions in python using mathematica, and I can't find anything online about how to import values into python with exponentials. I know how to values with exponents. For example: [CODE]x=2032.43 * 10 **23[/CODE] However, when I read in a data file, say with one …

Member Avatar for JoshuaBurleson
0
143
Member Avatar for synaps
Member Avatar for cherrymae.calma
0
205
Member Avatar for DILO3D

I describe my problem with following simple example. here when i click the test button it will create a new test button inside div tag. But after that if i clicked new generated test button document.getElementById("test" ).onclick = function() is not working. how can i add functions to new dynamically …

Member Avatar for ko ko
0
2K
Member Avatar for starkk

segmentation fault...:( some one help me pls.. [CODE]#include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char a[50]; char *x[10]; int i,j,n; char *temp; printf("enter the no of strings:"); scanf("%d",&n); for(i=0;i<n;i++) { printf("enter the string:"); scanf("%s",a); x[i]=(char *)malloc((strlen(a)+1)*sizeof(char)); if(x[i]==NULL){ printf("malloc not done"); exit(1);} strcpy(x[i],a); } for(i=0;i<n-1;i++) { for(j=0;j<n-i;j++) { if(strcmp(x[j],x[j+1])>0) { strcpy(temp,x[j]); strcpy(x[j],x[j+1]); …

Member Avatar for starkk
0
454
Member Avatar for Paul Norris

I've seen a lot of posts over time relating to importing and exporting CSV. Most of the answers involve using TextReader.readline and String.split, [B]which will not work[/B] with any but the simplest data. When you are writing for users who have the expectation that your application will work with anything …

Member Avatar for Paul Norris
0
334
Member Avatar for CodeFusion1

Hi. I'm trying to write a simple scheduling script, but have run into a problem. I'm fairly new to PHP, and so have no idea how to update multiple rows in a mysql database. Currently, my code connects to the database and reads each row. If "class" is empty, it …

Member Avatar for CodeFusion1
0
851
Member Avatar for NetJunkie

So I am creating an application that allows users to send basic keystrokes to end certain processes. But I am running into some issues. I know the code I have will work the problem is I do not know where to put the following code to execute the commands: [code] …

Member Avatar for codeorder
0
189
Member Avatar for techlawsam

Alright back with the same but different example problem but this time I think it requires some "formating" and knowledge of "escape characters". As a novice programmer this is the caliber of trouble I am going through lol. Does this need knowledge of escape characters as well ? ("\t") would …

Member Avatar for techlawsam
0
241
Member Avatar for calebcook

Hi. I’m creating a system for my client where he goes to a page where he types in a letter. The text is saved as a file (preferably PDF) and then sent as an email to a printing service. I’d prefer not to save multiple PDFs on my server, so …

Member Avatar for tiggsy
0
1K
Member Avatar for JoshuaBurleson

I'm having a terrible time with regular expressions, possibly because I'm using a python2 reference, but maybe not. For example how would I find \s\w within a string and then change that character?

Member Avatar for JoshuaBurleson
0
308
Member Avatar for Who me?

Hi, I am new to PHP and need help with my code to create files and folders based on variable values. Here's the setup: 1. I have approximately 100 categories. I've assigned a variable to each category. E.g. [LIST] [*]Variable 1 (as in $c1) contains category one's name. [*]Variable 2 …

Member Avatar for diafol
0
2K
Member Avatar for jigglymig

havn't programmed in c++ in well over a year and taking a new class at a different college. So I completly forgot how to work with linked lists. we are doing review so notes in book/slides don't include too munch information and is all in pseudo code. at the moment …

Member Avatar for jigglymig
0
108
Member Avatar for Zanduar

Forgive me if this is in the wrong spot. If it is, please move it to the correct location. Hello all, I am at square one of a very large project. I understand it will be a great undertaking and I'm not expecting miracles. In fact, I'm not expecting code …

Member Avatar for Zanduar
0
254
Member Avatar for tfj

I have 3 forms: Form1, Form2 and Form99. Form1 and Form2 both call Form99. What statement(s) does Form99 use to determine which form called it (Form1 or Form2). Form1 Form99.Show Form2 Form99.Show Form99 Which form called me? Thank You.

Member Avatar for tfj
0
141
Member Avatar for shivya jain

how we create a function/method in vb.net?? if i want to make a method of auto_generate_id, then how will i start? i have written this code please help me..... [CODE] void auto_generate_id() Dim j As Integer = 0 Dim cmd As New SqlCommand("select staffid from staff order by staffid", c.con) …

Member Avatar for Unhnd_Exception
0
192
Member Avatar for hfx642

I would like my JSpinner to show up as having a Layout of GridLayout (3, 1), with; Panel.add (JTextField); Panel.add (Up_JButton); Panel.add (Down_JButton); and all 3 (contained) GUI components to be the same size. Is this possible? if (so) How? (My work around is to build it myself, which I'm …

Member Avatar for mKorbel
0
146
Member Avatar for bluehangook629

Ok this question is more like 'what is the term used for such as event?'. What I am trying to do with open a application config form in login window which is activated by combonation of keys pressed. for example alt+c or ctrl+alt+x. I tried using every term i can …

Member Avatar for bluehangook629
0
428
Member Avatar for BarisD

Hello everyone, I'm not a very advanced programmer and here is my problem: I'm trying to write a hangman game and I want to use online dictionaries as database. I created a windows form application to do that. Is there a better option to achieve my aim? I could find …

Member Avatar for makman99
0
536
Member Avatar for techlawsam

Ok so here is the problem... this is my code: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DesignOutput { class Assignment { static void Main() { Console.WriteLine("CCCCCCCCCC"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CC\t\t##############"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CC\t\t##############"); Console.WriteLine("CC\t\t##\t##"); Console.WriteLine("CCCCCCCCCC"); Console.ReadKey(); } } } [/CODE] Im trying to match this: [CODE]CCCCCCCCCCC CC ## ## CC …

Member Avatar for techlawsam
0
287
Member Avatar for aalokwar

Hi, I am getting errors when trying to run a website in asp.net 2.0. When opening in browser, Error is: HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. When clicking on debugging it displays an error …

Member Avatar for hericles
0
242
Member Avatar for DisasterPiece

I want it to be advanced like say if you pressed remember me on login then the next login it will log you in automatically.

Member Avatar for bluehangook629
0
133
Member Avatar for jackfriendstie

What I want, is for my text file to be read into the array named "CFiles()". Then once this is complete to delete the file But I get the error, The process cannot access the file 'C:\Users\Andrew\Desktop\New.txt' because it is being used by another process. On 3rd to last line. …

Member Avatar for codeorder
0
2K
Member Avatar for DisasterPiece
Member Avatar for rdhc1330

hey guys, just wondering how I can change this code to C++... It's an old code my brother actually made! [CODE] #include <stdio.h> const int ROW = 4; const int COL = 13; int main(void) { int i, c, max = COL; for(i = 0;i<ROW;i++) { for(c=0;c<COL;c++) { if(c == …

Member Avatar for mike_2000_17
0
826
Member Avatar for Heioingi

Please, please please someone help me. This might sound a little pathetic but I cannot figure this out for the life of me, it compiles just fine but i get the complete wrong output. Here is all the code I have. The problem: Write an application a that calculate the …

Member Avatar for Heioingi
0
1K
Member Avatar for Evesy

I have a program I want to make. The main thing I need help with. I'm no programmer so I'm asking here. What I want is a program that does the following, 1) Open a save (needs to open any type of save) 2) Then, 'hex edit' by finding all …

Member Avatar for kingsonprisonic
0
102
Member Avatar for .:Pudge:.

I have been trying to support certain built in commands such as 'cd' and 'help'. If I do 'ls' or 'mkdir' it executes them fine and they do what they are supposed to. If I type the command 'help' I get a segmentation fault and if I type 'cd' it …

Member Avatar for nezachem
0
206
Member Avatar for Vaikkundhnaair

I would like to develop a VB.Net based smart device app. A simple one. Do any of u know where i can refer to samples of such apps?

Member Avatar for hericles
0
128
Member Avatar for DisasterPiece
Member Avatar for Bazzaah

Hey there I'd appreciate some help with variables please. I have a search function on a site I'm building and would like to have it so that a user can click on a search result to see more columns from that row on the db, if you see what I …

Member Avatar for Bazzaah
0
116
Member Avatar for DisasterPiece

The End.