199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dmennite

First off I apologize for being a newbie to MySQL but one must learn somewhere... I am attempting to create a stored procedure that take input (primary key) and finds a field for that record and output to a variable... my code so far: [CODE]CREATE PROCEDURE sp_dealer_name( IN dealerID CHAR, …

Member Avatar for Dmennite
0
172
Member Avatar for balam

Hi, this script wont show the result from my data base and i dont know why it might be here [CODE=php]if ($x==1) $construct .= " description LIKE '%$search_each%'"; else $construct .= " AND description LIKE '%$search_each%'";[/CODE] i tried to change the description to other to another column like location but …

Member Avatar for dasatti
0
96
Member Avatar for Graphix

You can place the game "Blackjack" by adding the following script to your website. All the information is included within the script, please do not remove the warranty or information. If you don't want such a big lap of code on your website, you can also place the following, as …

0
472
Member Avatar for help_lucky

Hello All, I am new to PHP and the requirement is, i need to design a form with multiple checkboxes with same name. I tried using arrays and the code is [code] <td> <input type="checkbox" name="eroom_status[]" value="empty" <?php if(isset($_POST['eroom_status'])) { if (in_array('empty',$POST['eroom_status']) { $check = 'checked';} } echo $check;?> > …

Member Avatar for nileshgr
0
96
Member Avatar for chupinette

hello all! :) Well this is my code: [CODE] for ($i=0; $i<5; $i++) { $random= array_rand($ids); echo "<br> $random generated"; if ($check[$random]<>0) { $i--; echo " number generated again"; } else { $check[$random]=1; // set check to 1 to know the array number has been used } } $rnd_num[]= $ids[$random]; …

Member Avatar for kireol
0
121
Member Avatar for El Duke

I can't believe I am getting this error again and again .... Here is my class: [CODE]class LANGUAGE: def __init__(self, val): self.val = val def Set(self): return self.val [/CODE] Here is the function call: [CODE]if text in translate._languages: msg = "You have chosen the " + translate._languages[text] global NewLang newlang …

Member Avatar for El Duke
0
680
Member Avatar for shaunhester

The following code worked perfectly in word 2003, now in word 2007 it doesn't work if the resulting save file is on a network drive, it does however work on a local drive. We are scrathing our heads here if anyone has any ideas we would be happy to try …

Member Avatar for phpbeginners
0
136
Member Avatar for Kparas

Hi, I am working in php a mail function in this function in message part i want to use one print button which should be mailed to and if who is getting mail want to print this page that should be print. But which code i am using for print …

Member Avatar for phpbeginners
0
160
Member Avatar for bhey

can you please show me how to make a countdown timer? and a game program, like guess the missing word. because when i tried it, it doesn't give the right output. please help me. because i really don't know much about c++ i might fail to this subject.:S:'(

Member Avatar for bhey
0
204
Member Avatar for aana

write a program 4 incyption and decryption of a 4 digit code. entered by the user.For incryption use following mechanism: 1.sumofalldigits + current digit%10. 2.replace 1st digit with the 4rth and 2nd with 3rd. Use functions and pass by reference. For decryption use reverse mechanism. ppppllllllzzzzzzzz someone help me!!!!!!!!

Member Avatar for Agni
0
314
Member Avatar for vtsmokey88

The program is suppose to run through a list of strings. The stings are then put through a hash function (which works fine) and then "hashed" (for lack of a better word). The index is suppose to be an array of linked Lists to handle collision problems. I guess the …

Member Avatar for yokartik
0
177
Member Avatar for johnyjj2

Hello! I found code of simple client - server application using TCP sockets, written in C#: [url]http://www.csharphelp.com/archives/archive127.html[/url] . It makes possible to send and receive text. What I'd like to do is to send audio from one application to the other, I don't have to have communication in the opposite …

Member Avatar for sknake
0
1K
Member Avatar for KSM899

Hi, I have 4 classes , 1 is the base class and the other inherts from it, it worked fine when compiling .. I tried to make them as a package , it works fine with the superclass but it doesn't with the other classes, It always gives me cannot …

Member Avatar for ~s.o.s~
0
125
Member Avatar for Acute

Hello everybody, i'm new in C# and i have a problem: how to make a loop(what will be in paranthesises?) that asks user to enter a word (then my method checks whether it is a palindrome or not) [COLOR="Red"][B]until user presses [I]Ctrl+Z[/I].[/B][/COLOR] PLZ help, i'll glad to any advise.

Member Avatar for sknake
0
565
Member Avatar for NewbieProgram

My professor wants us to write a script that will do the following: -Catch him online and output the time/day -Where did he login, ie College or Home (ip address provided is ok too) -What was he doing The crontab should run every 30 mins and automatically email him all …

Member Avatar for sknake
0
125
Member Avatar for kevin wood

i have been asked to fix a problem on a content management system website. when the user edits the text and then clicks on the save button it is not updating the text on the pages selected. the code that is being used is [ICODE]oEdit1.btnSave= true; // Enable save button …

Member Avatar for Mr.Bit
0
2K
Member Avatar for azegurb

hi all i am newbie in Excel VBA i created list in Excel and i wrote into ([B]a1[/B] cell-income, [B]b1[/B] cell-expence, [B]c1[/B] cell-kredit and [B]d1[/B] cell-debet) i enter a2 cell income (for ex:1000) and b2 cell expence (for ex: 100) and I give condition in VBA that if income greater …

Member Avatar for azegurb
0
89
Member Avatar for coder82

I am trying to parse PDFs to extract text from them. I couldn't find any good free tools online for that, and I have no idea about building one myself in .NET. I want to be able to parse the pdf and populate the data in a hash table, which …

Member Avatar for sheeby2
0
119
Member Avatar for abhaymv

Hi, I have this annoying problem in my project program.It simulates a Library.From the data stored in a binary file,the information about books are to be displated as: [U] Sl.no Book code Book Name Author no. of books[/U] 1 ES101 Sherlock.. A.C Doyle 10 2. SF200 Harry Potter J K …

Member Avatar for abhaymv
0
266
Member Avatar for web3

when i use <?php echo $_SERVER['PHP_SELF']; ?> in my forms the get values disappears. How to fix that? Is there some function?

Member Avatar for jcanaway
0
164
Member Avatar for adudefelldown

Hi, in standard C, I'm trying to use my redblack tree code along with other data structures for my project. I currently have everything working (as far as I can test atleast) except the red-black tree. The red-black tree is in its own file redblacktree.c and main is in its …

Member Avatar for phpbeginners
0
125
Member Avatar for Geek_Cyborg

Hello, I want to add integer value in specify integer from mix character TextBox, For eg, I have two TextBoxes first's name Textbox1 and second's name Textresult1 Textbox1.Text = "blabla 2 bla" Now after a empty space and before a empty space i want to + 1 in integer value …

Member Avatar for vb5prgrmr
0
90
Member Avatar for neosonic

Do you have any idea which program which enable us to do it? I'm thinking about matlab, but is it be able to do it? I am doing a project with the visual basic 6, which involving scanning the picture, and I need to read the text inside it. Thanks

Member Avatar for Nick Evan
0
95
Member Avatar for xandy

i want to install visual basic 6.0 free download to my pc but i dont know if i can get here a free!!!! help me pls!!!

Member Avatar for Nick Evan
0
65
Member Avatar for murugeshkumaran
Member Avatar for cliffaem28
0
53
Member Avatar for Sheltac

Hi guys! I'm pretty new to C++. I am currently on freshman year at college, and have a programming problem (not homework, it's actually a side project of mine) that consists on implementing some algebra-related functions on C++. I'll go straight to the point: [code] int switchlines(int i, int j, …

Member Avatar for Sheltac
0
172
Member Avatar for xxPoseidonxx

Alright, well I am getting the ".class expected" error. I cannot figure out what it is nor is google helping much either. [code] public class Driver { public static void main (String[] args){ Scanner scanIn = new Scanner(System.in); Deck deck = new Deck(); Card[] hand = new Card[5]; Shuffle shuffle …

Member Avatar for shubhinetwork
0
114
Member Avatar for Ultratermi

Hey :D I wanna make a small program which changes the Desktop Wallpaper. Ok ehm. I found many things but nothing is working! Maybe because of my os: Win 7 x64 Ok here is the code which should run when someone click on the button. [CODE=C++]SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);[/CODE] Tried it …

Member Avatar for Ultratermi
0
1K
Member Avatar for peck3277

Hey guys im hoping someone can please help me. I'm trying to get my website to have a simple feed back from and it just won't work for me. This is the script i'm using [CODE]<?php if (isset($_REQUEST['email'])) { $email = $_POST['email'] ; $subject = $_POST['subject'] ; $message = $_POST['comment'] …

Member Avatar for gvwiberg
0
135
Member Avatar for whitestream6

I've been trying to create a database-driven site, am new to this, have looked it up on Google and tried for myself, but need a bit of help. [CODE] <?php // Connects to your Database mysql_connect("localhost", "root", "PASSWORDREMOVED") or die(mysql_error()); mysql_select_db("epguides") or die(mysql_error()); $data = mysql_query("SELECT * FROM epguides) or …

Member Avatar for Arianna
0
122
Member Avatar for SKANK!!!!!
Member Avatar for dbratshpis

I want my xpath query to return something like: customerName=... id=... customField=.... regardless whether those nodes exist in my xml: [CODE]<Begin> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> <customField>A</customField> </CustomerRet> <CustomerRet> <customerName>Jack</customerName> <customerId>1</customerId> </CustomerRet> </Begin>[/CODE] How do I go about writing my expression? I tried using concat but it's not working for me. /Begin/CustomRet/concat('customerName=',customerName) …

Member Avatar for xml_looser
0
90
Member Avatar for tien113

hi u I have a project combine a raytrace with SDL library but I dont know how to do... can you help me??? this is all source code of my raytrace: [CODE]http://tinypaste.com/6247b[/CODE] and SDL library on the internet: [CODE]http://www.libsdl.org/[/CODE] thanks...

Member Avatar for tien113
0
79
Member Avatar for deven_a76

Hello friends, I am trying to use the Ajax control i.e. Scriptmanager, to get the data from the server asynchronously (without postback). For this as per the guidance given by MSDN, I have code in my system. I have used following psuedo code... [Code] <ScriptManager ID="..."> <ScriptService path="ABC.asmx"/> </ScriptManager> <script> …

Member Avatar for deven_a76
0
101
Member Avatar for anna2

I have this exercise that i need some help with !! • Write the function fahrenheit that returns the Fahrenheit equivalent (as a float value) of a temperature value in Celsius. The function has one integer parameter for the temperature in Celsius. [Hint: Tf = (9/5)*Tc+32; Tc = temperature in …

Member Avatar for ItecKid
0
104
Member Avatar for ayan2587

hi frndz... the problem is as follows: i want to create a 2-d array. in every index in that matrix, i want to store an array of integers. moreover the array that i want to store at every index has to be dynamic because its size will keep on increasing. …

Member Avatar for jonsca
0
113
Member Avatar for bdgrlsrl

Hello everybody, I am having trouble with the following. In my code, I don't get the right results for my getAverage/ getLeastAmount/ getGreatestAmount function. I don't know what I am doing wrong. Could anybody give me some hints, please? [code] #include <iostream> #include <iomanip> #include <cassert> #include <fstream> using namespace …

Member Avatar for jonsca
0
132
Member Avatar for jitu44

How can find the repitition of a number from a given array with less time complexity(<N)?

Member Avatar for mrnutty
0
77
Member Avatar for alflash

Does anyone now how to create a game id for tictactoe,i.e each new game that is played is given a game id. help

Member Avatar for jonsca
0
78
Member Avatar for jigirene

On my surveys.aspx page I have 5 user controls (containing different types of questions i.e. yes/no, multiple choice, open answer) that are dynamically loaded depending upon a formview. I have no problem loading these controls. The problem arises when I try to notify the aspx page that an event was …

Member Avatar for jigirene
0
755
Member Avatar for jwxie

[CODE] # This is my second attempt writting a class class Getlist(object): def __init__(self,list1=[],list2=[]): self.list1 = list1 self.list2 = list2 def printIt(self): print self.list1 print self.list2 # This will combine the two lists together class combineList(Getlist): def __init__(self): for i in range(len(getlist.list1)): print getlist.list1[i],getlist.list2[i] getlist = Getlist([1,2,3],['a','b','c']) getlist.printIt() combineList = …

Member Avatar for jwxie
0
134
Member Avatar for haiconsoba

[CODE=php] //xulydangky.php <?php session_start(); $TDangNhap=$_POST["txtDangNhap"]; $Ten=$_POST["txtTen"]; $HoLot=$_POST["txtHoLot"]; $MatKhau=$_POST["txtMatKhau"]; $MatKhauReSet=$_POST["txtMatKhauReSet"]; $TLoi=$_POST["txtTraLoi"]; $Email=$_POST["txtEmail"]; $HK=$_POST["txtHKTT"]; $NOHN=$_POST["txtNOHN"]; $Phai=$_POST["RadioGroup1"]; $Hk=$_POST["txtHKTT"]; $NOHN=$_POST["txtNOHN"]; $DT=$_POST["txtDTLL"]; $TL=$_POST["txtTraLoi"]; $Em=$_POST["txtEmail"]; $Cauhoi=$_POST["cauhoibaomat"]; if(empty($TDangNhap)) { $_SESSION["sMess"][3]="Tên đăng nhập không được bỏ trống"; $_SESSION["DangKy"]=false; } if(empty($Ten)) { $_SESSION["sMess"][4]="Tên không được bỏ trống"; $_SESSION["DangKy"]=false; } if(empty($HoLot)) { $_SESSION["sMess"][5]="Họ lót không được bỏ trống"; $_SESSION["DangKy"]=false; } …

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for DarthPJB

Howdy, those of you who remember me may be happy to know my 2D game engine was finished and I'm now working on a 3D engine. My engine has been going rather spiffingly well, after some battles with DirectX and OpenGL i managed to get them working side-by-side. Wrote a …

Member Avatar for DarthPJB
0
305
Member Avatar for Iam3R

Hi, i dont understand the following; PLZ fix me. when i try to change the character pointed by pointer the behaviour is undefined. but when i change the same by using pointer as formal parameter of function it will be ok. why i cant change the base address of array, …

Member Avatar for Iam3R
0
122
Member Avatar for EnjozLearniz..

[B]What I want to code:[/B] 1.Given: -A range of integers iRange from 1 up to iRange -A desired number of combinations 2.Find the # of all possible combinations and print it out. For example: Given: iRange = 5 and n = 3 # of combinations = iRange! / ((iRange!-n!)*n!) = …

Member Avatar for EnjozLearniz..
0
130
Member Avatar for veledrom

Hi, I just want to find out which is better? Thanks [code] ...... echo "Database connection error"; exit; [/code] OR [code] ...... die ("Database connection error"); [/code]

Member Avatar for phpbeginners
0
164
Member Avatar for kako13

Hi, I'm reading a line from a text_file.txt The line looks like: 1#Jonh#Smith#PO Box#4.9#5.0# The code being used: [CODE] fstream file; file.open("Tbl_cliente.txt", ios::in); // open a file for input file.unsetf(ios::skipws); getline(file, Cli_nombre, '#'); getline(file, Cli_apellido, '#'); getline(file, Cli_dirr, '#'); file >> Cli_total_compras; file >> Cli_balance;[/CODE] But when I look for …

Member Avatar for necrolin
0
142
Member Avatar for 2scoopdelux

i am having trouble putting together all the pieces of the puzzle to work together in harmony. My final project is simple,i have a jlabel with the question of how much does your dog weigh, I have a button and a jtextfield, the user enters the amount of there dog, …

Member Avatar for 2scoopdelux
0
190
Member Avatar for CFROG

I have looked around and not been able to find a definitive answer to this. Prototype does not work in IE 7 or lower. All other browsers work just fine. Even something as simple as [icode]toggle();[/icode] will not work in older versions of IE. I don't get any errors or …

Member Avatar for CFROG
0
128
Member Avatar for newbiec

Hello, I have an assignment to make a tic tac toe game using 1-9 in a grid (but without 1 l 2 l 3 and instead, 1 2 3 etc.). I'm having an impossible time figuring out how to redisplay the new x or o (see function comments). Is there …

Member Avatar for Jiwe
0
102

The End.