199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joseph_bodagh

Hi How are you guys Im new learner in php and im coding a small script for orders and customers and i hve problem lets say I have table with name of : Orders id : int(11) - AUTO_INCREMENT pizza : text - not null and order form is like …

Member Avatar for cgull
0
187
Member Avatar for rouse

I am writing some learning code to convert an XML file to a JavaScript array. So far I can convert from XML to JSON with this: [code] <?php $xmlStr = simplexml_load_file("xml/galleryXML.xml"); $jsonStr = json_encode($xmlStr); ?> [/code] I don't know and can't find a way to convert to a JavaScript array …

Member Avatar for rouse
0
374
Member Avatar for chandnigandhi

i want to draw a rectangle in windows form in c# with the help of mouse by clicking on button line should be displayed on panel and if first rectangle should not b disappeared... plzzzzzzzzz rply soon........

Member Avatar for chandnigandhi
0
155
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with the help of mouse and by clicking on line button it should allow me to draw a line on form or panel as in paint it allows us to do so and while drawing the 2nd line first …

Member Avatar for shrutipopat
0
74
Member Avatar for crapgarden

This code: [CODE] int array1[5] = {1, 30, 90, 40, 3}; char array2[] = {125, '}'}; cout << array1 << endl; cout << array1[0] << endl; cout << array1[1] << endl; cout << array1[2] << endl; cout << array1[3] << endl; cout << array1[4] << endl; cout << array2 << …

Member Avatar for crapgarden
0
100
Member Avatar for extemer

what i am trying to do is when i click the div it decreases to width=100px and when i click it again it changes it to original size but i am getting the problem in the second part where i want to re size it to original size i known …

Member Avatar for Airshow
0
150
Member Avatar for khentz

Hi, How can I point or target my access database in a safe way? Meaning, if I'm going to change my project to another computer, it will not cause any connection problem to my database. Thanks in advance. :)

Member Avatar for XEN0
0
84
Member Avatar for aspirewire

I'm very new to programming and I'm trying to make a program to compute the circumference of a circle when you give it the radius, but I keep getting "fatal error LNK1169: one or more multiply defined symbols found" whenever I think I fix it, it just says the same …

Member Avatar for Ancient Dragon
0
357
Member Avatar for asif49

I'm trying to make my website compatible with internet explorer. I've been thinking of making it compatible for IE and then Firefox and then I'll be good. It works for google chrome but there's some very very annoying little things which the new IE does. The images look much bigger …

Member Avatar for asif49
0
122
Member Avatar for Sheryl99

I am using a PictureBox to display images. I have SizeMode set to StretchImage. While this does indeed show the whole image, it is of coure stretched. Is there a way to prepare the image to be displayed so it will fit correctly in the PictureBox? I just want it …

Member Avatar for aamirnikkiaadil
0
5K
Member Avatar for IndianaRonaldo

hi all guys, I have just started CURL programming in vc++.But I don't have a good place to start reading more about it.I do understand the basics of it,but I want a procedural tutorial to learn more about it. Is there any proper site to learn from basics to higher …

Member Avatar for IndianaRonaldo
0
188
Member Avatar for fire eaters

when i click the link the the div is resized to 100px .. but again if i click i want to the the div to be same as before (800px) using the same sliding animation ..how can i do that [CODE] #ee{ border:1px solid #00F; height:100px; width:800px; position: absolute; } …

Member Avatar for extemer
0
113
Member Avatar for reactivated

I'm using Visual C# Express 2010, on Windows XP SP3. I took pain to define the var collBlock in the class directly, however, when I try to use it, it works once and then NOT. Google searched all and tried a lot of solution. Error stil comes up. The code …

Member Avatar for reactivated
0
327
Member Avatar for Smurf_UK

Hi All, I am new to the site, and also to PHP and MySQL, so please go easy on me for asking what may be an obvious question for many. I am wanting to store the data from a sign-up form in a MySQL DB, but I cannot get my …

Member Avatar for Morta
0
3K
Member Avatar for stephen lowry

hi guys i have created a database for a friend which seems to be running ok (for now) my front end im using vb.net . what i need to do is make alterations to the same database which is on my computer ie add fields which i can do then …

Member Avatar for debasisdas
0
157
Member Avatar for coolsasuke

Hey , yeah. I was wondering if it is possible to hide all desktop icons EXCEPT my application's shortcut ? If it is possible, please tell me how . It is the best if you can provide the code for me. As im a very noob in coding cause im …

Member Avatar for coolsasuke
0
237
Member Avatar for sirlink99

I have made a simple java program that gets a user to fill out a form, and then checks if all the parts were filled out. I am now having trouble with how to send the file in an email to a set users email account. How could I do …

Member Avatar for sirlink99
0
241
Member Avatar for William Blore

okay, I've got another problem. How can I obtain content of cascade style, using javascript? I know, there's a code document.getElementById('id').style.border='5px solid blue'; for example, but I need to do reversed operation, not to change style, but obtain it. I hope I've described my problem clearly enough enough ;) Thanks …

Member Avatar for extemer
0
123
Member Avatar for nickliutw

I have been working a program that allow the user to perform the following task, add student, display student, delete student, and find student. I need help with add student name, gpa..etc to the arraylist. But I keep getting either compiler messages or other error message. I have been trying …

Member Avatar for nickliutw
0
152
Member Avatar for shrutipopat

i want to draw a line in windows form in c# with d help of mouse....by clicking on button line should b displayed on panel or form.....nd d first line should nt b disappeared..... plz rply soon.....

Member Avatar for Narue
0
99
Member Avatar for Onlineshade

Which compiler is needed for the following code? [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; import javax.mail.*; import javax.mail.internet.*; public class Main extends JApplet implements ActionListener{ JTextField firstNameArea; JTextField lastNameArea; JTextField emailField; JTextField phoneNumber; JCheckBox myselfBox; JCheckBox someoneBox; JTextArea messageArea; public void init (){ setSize (250,300); setLayout (new BorderLayout …

Member Avatar for JamesCherrill
0
192
Member Avatar for she05

Hi all, I am currently trying to pass an arraylist as a parameter for adding and deleting a student from the arraylist. Well, I have just learned about arraylist. Is it possible to pass an arraylist as parameter. Your help will be highly appreciated. Thanks. My codes below: [CODE]package student; …

Member Avatar for JamesCherrill
0
132
Member Avatar for D33wakar

[CODE] .MODEL small .STACK 100h ; defines a stack 100h (256) bytes long .DATA String DB "Hello World!",'$' ; variable declaration .CODE Start: mov dx,offset String ; point dx to the storage location for the first character mov ah,9 ; dos function for string output int 21h Stop: mov ax,4C00h …

Member Avatar for D33wakar
0
249
Member Avatar for chiiqui

[CODE]public class GAME { boolean gamestatus = true; double amounts[] = {0, 0.01, 0.5, 1, 5, 10, 11, 14, 20, 300, 600, 150, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28 }; Briefcase briefcase[] = new Briefcase[27]; public void casesSetup(){ for (int i …

Member Avatar for chiiqui
0
129
Member Avatar for sirknieghf

hi i got a problem when try to use pointer and struct..somehow ive manage to compile my coding but the main prob is that the output is not what ive keyed in.. [CODE]#include <iostream> #include <conio> #include <string> #include <stdlib> void printtable(); void input(); void calculate (); void scorecard(); void …

Member Avatar for sirknieghf
0
392
Member Avatar for mangal123

i want to do accessing files and folders in listbox and when i click in any folder then thier subfolder displayed in other listbox ......... reply sooooon ....................... magdy .......................

Member Avatar for yash_shukla
0
87
Member Avatar for pxndx

Ok so i have this little problem, i have to find all the elements in an array that are duplicates ex:{1,1,1,2,2,3,4,5,6} 1 repeats it self 3 times and 2 two times things like that this is what i have so far... [CODE] static void Main(string[] args) { int contador = …

Member Avatar for thines01
0
2K
Member Avatar for chiiqui

Can this code of mine be more efficient? [CODE]import java.util.Scanner; public class Game { public static void main(String args[]){ boolean gamestatus = true; //Boolean to control the whole game double total = 0; //Temporary variable for storing the average Banker banker = new Banker(); //creation of the object banker; int …

Member Avatar for JamesCherrill
0
166
Member Avatar for suemaina

Hi plz help me with a code that can detect when a pin number is entered in reverse. and alerts the user that he has entered pin number in reverse ..thanx

Member Avatar for suemaina
0
188
Member Avatar for agrarian

I have a project where I need to retrieve data from MS SQL Server and format it into an Excel Spreadsheet. I am using the OfficePartner component to try and make this easier, but I'm having a hard time figuring out how to get the VB help and Excel Object …

Member Avatar for Wolfgan
0
904
Member Avatar for JoshuaBurleson

I have no idea what went wrong with my most recent code, but I suspect it has something to do with the following so I'll start there. Did I do something wrong in this? [CODE]cards=['1','1','1','1','2','2','2','2','3','3','3','3','4','4','4','4','5','5','5','5','6','6','6','6','7','7','7','7','8','8','8','8','9','9','9','9','A','A','A','A','K','K','K','K','J','J','J','J','Q','Q','Q','Q'] import random random.shuffle(cards) h1=[] for card in cards[1:7]: h1.append(card) cards.remove(card)[/CODE]

Member Avatar for TrustyTony
0
233
Member Avatar for yash_shukla

[CODE]#include<conio.h> #include<stdio.h> main() { char name[20]; scanf("%s",&char); if(char=="name") { printf("u entered name"); } else { printf("not name"); } }[/CODE] but it is printing not name when im entering name plzz check for the problem

Member Avatar for Onlineshade
0
121
Member Avatar for amrita111

[CODE]#include<stdio.h> int main() { char ch; if(ch = printf("")) printf("It matters\n"); else printf("It doesn't matters\n"); return 0; }[/CODE] Here according to me, the expression inside "if" will be true becoz we have used "=" sign and not "==" sign. but the output is "It doesn't matters".how is it so?

Member Avatar for Narue
0
220
Member Avatar for harinath_2007

Hi guys.. The method createScreenCapture() in Robot class made me to post this question. The method works absolutely fine and it does the functionality of capturing screen as it asked to do. Now the problem comes here when i take the snapshot of my screen while i play a game. …

Member Avatar for mKorbel
0
121
Member Avatar for Triarius

Hi! I have recently started using linux and I was recommended gcc compiler. I have written a basic program just to see if it works. And it doesn't. I am trying to compile it with Terminal, and with the following command :[CODE]gcc ~/Desktop/C++/test.cpp -o testing)[/CODE] My program it responds with: …

Member Avatar for Triarius
0
302
Member Avatar for MrAppleseed

-First post Woot!- Alright, here's the problem; I'm building a _very_ simple Terminal-like program. The only problem is that in a normal Terminal (be it in Linux or Windows' "Command Prompt") there is no definitive number of inputs that you can input, for instance; you can either type "dir", or …

Member Avatar for Narue
0
135
Member Avatar for lionconqueror

Hello. I am developing a class manipulater in which I add and delete some fields and methods. I have a main class which is connected to GUI. Whenever I change a class, I have to restart the GUI in order to get the changes applied. I would like to gently …

Member Avatar for lionconqueror
0
115
Member Avatar for Rahul V S

Hi, :) I am a newbie here and this is my first post. :?: I always wonder whether there is a better way of putting this or that or is there a work around for that, etc.... :idea: So, its better if we can have an uncluttered discussion topic that …

Member Avatar for LaxLoafer
0
95
Member Avatar for sarithak

Hi team, i write some logic in my page. here i am using this $x is getting by POST method... Logic :[CODE] if($x>10) { $amount=$amount+400; } [/CODE] It is working fine. Hare the problem is after entered into the page...incase user refresh the page that logic repeated. i dont want …

Member Avatar for sarithak
0
141
Member Avatar for authi

Methods: public class metod { public static String computation1 { JOptionPane.showMessageDialog(null," Area of a Circle"); String n = JOptionPane.showInputDialog(null,"Enter a Number"); int num = Integer.parseInt(n); int form1 = (3.14 * (num*2)); JOptionPane.showMessageDialog(null,"… is "+form1); } public static String computation2 { JOptionPane.showMessageDialog(null,"… of a Trapezoid"); String h = JOptionPane.showInputDialog(null,"Enter Height"); int …

Member Avatar for JamesCherrill
0
4K
Member Avatar for Pravin Rajput
Member Avatar for andyliany

Somebody can help me? I want to edit my register page, i want to add new value to my database. Like Bank name, Phone number, address and other, below here is my existing register.php. [CODE]<?php function _generate_user_id(){ $istnieje = false; do{ $losuj = mt_rand(100,999).mt_rand(0,9).mt_rand(0,9).mt_rand(100,999).mt_rand(0,9); $result = mysql_query("SELECT `id` FROM `xeon_users` …

Member Avatar for cereal
0
303
Member Avatar for poker158149

Hi everyone. I spent a lot of time figuring out how to get my code to check for user errors and types. I finally got it set up properly, but now I'm getting an error. A number is required on my input. If someone doesn't enter a number or leaves …

Member Avatar for Gribouillis
0
2K
Member Avatar for debasishgang7

Hi all, I am trying to extract some text from a HTML page using regex. [CODE]<html> ...some code.... <B><FONT color="green">TEXT to BE EXTRACTED 1</FONT></B><br> <P> <B><FONT color="green">TEXT to BE EXTRACTED 2</FONT></B><br> <P> <B><FONT color="red">TEXT to BE EXTRACTED 3</FONT></B> ....some code.... </html> [/CODE] I want to make a script which will …

Member Avatar for debasishgang7
0
129
Member Avatar for jacksantho

Hi, Am having only one check box. I wants to pass checkbox values through hyperlink. I needs to know, either it is an checked checkbox or an unchecked uncheckbox. Based upon checked checkbox, i carry out my remaining coding part. [CODE]echo "<br>"; echo "<table>"; echo "<tr><td colspan='2'><font color='blue'><b>download PDF document:</b></td></tr>"; …

Member Avatar for jacksantho
0
199
Member Avatar for naveedqadri

Hi All experts, I am facing problem with mysql view. I have migrated my database from oracle to mysql qith views, View on Mysql is created , but when i try to execute query it takes a long timw , some times it time qout server connection, Any body help …

Member Avatar for debasisdas
0
252
Member Avatar for Rupindersingh

I was installing Turbo C on my PC and it says "Make sure you insert \TC\Bin into your DOS path". Now how is that done.

Member Avatar for Adak
0
149
Member Avatar for c++creator

Umm I created a code which will create many results with specific ints(integers).I use Code::Blocks as my compiler.The code works inside the compiler,but when I go to the saved folder and run the batch file this is what happens-I enter a number and press enter and it simply closes itself!@What's …

Member Avatar for c++creator
0
181
Member Avatar for fullarmorzz

[CODE] #include<stdio.h> #include<conio.h> #include<string.h> int x; char name[20]; main() { printf("Exercise no. 10 ESN 211-9A MWF 7:30-9;30\n\n"); printf("Enter your age:\n"); scanf("%d",&x); if (x<18) printf("UNDERAGE!\n\n"); else if (x==18) printf("STUDENT LICENSE POSSIBLE\n\n"); else printf("PROFESSIONAL LICENSE AVAILABLE\n\n"); printf("Enter the result of your drug test: \n"); scanf("%s",&name); if ( name == "positive" ) printf("HOLD …

Member Avatar for Onlineshade
0
123
Member Avatar for Timroden

I'm currently working with the NotifyIcon, and ContextMenus in the notify icon, and was wondering if it is possible to call an event when something is dropped onto the icon. For instance, if I had document.docx, and I dragged it from explorer onto the icon, it would then save it …

Member Avatar for hkdani
0
541

The End.