199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tryphy

<?php $conn = mysql_connect("localhost", "root", "general"); mysql_select_db("cms"); $result = mysql_query("SELECT * FROM Category"); echo "<table width='400' border='1' cellpadding ='3' cellspacing ='4' bordercolor='#45310F' fontcolor=#FFFFFF>"; //$cimage = while($take = mysql_fetch_array($result)) { echo"<tr><tr>"; echo "<tr><td>"; print $take."<br>"; echo "</td><td>"; print $take."<br>"; echo "</td></td>"; echo "<t6><td>"; echo $take."<br>"; echo "</td></tr></tr>"; echo "<tr><tr>"; } echo …

Member Avatar for Venom Rush
0
104
Member Avatar for fernandodonster

I would like to take back of my database of postgress. now i am doing the command "pg_dumb " which written in a shell script and run it on command promt How it will do with PHP? Can i use that shell script in the PHP? Is there any need …

Member Avatar for fernandodonster
0
176
Member Avatar for filanfis8

i have this problem my file Computer.java is in desktop but not work :$ [CODE]public class Computer { public static void main (String []argv){ System.out.println("BllaBllaBllaBlla"); } }[/CODE] here is the screenshot [URL="http://aycu40.webshots.com/image/30159/2002091781242929104_rs.jpg"]http://aycu40.webshots.com/image/30159/2002091781242929104_rs.jpg[/URL]

Member Avatar for parthiban
0
80
Member Avatar for rocky_jhonny

Hi i am developing an application in C# which is going to put the system in sleep states like s1,s2,s3,s4 depending on the specification. [CODE]i need to get what are the sleep states supported by currently running system[/CODE] and also [CODE]how to know whether the system went into the sleep …

Member Avatar for Ramy Mahrous
0
73
Member Avatar for jrice528

I am so close to finsihing my homework im on last programmign assignment. I have the program written but i cant figure out what to take from main and put into my flip function. the teacher said it should only contain one lineof code. Anbody have any ideas?Which is : …

Member Avatar for ndeniche
0
107
Member Avatar for Duki

Hey guys, Could you tell me what is wrong with this part of my code: [code]#include <iostream> using namespace std ; class TwoD { public: TwoD ( ) ; TwoD ( int , int ) ; private: int *m ; int d1 ; int d2 ; }; int main ( …

Member Avatar for ndeniche
0
87
Member Avatar for jobs

Why can't I have two different link objects? I create _link and _link2 as empty objects. When I do this: _link2 = _link, it just creates alias _link2 to link object. Same object have 2 aliases _link2 and _link. Is there a way to copy the content of _link to …

Member Avatar for jrcagle
0
111
Member Avatar for thunderbbolt

How can I let the user chose how many results they want displayed on a page? For instance they should be able to specify if they want 11, 20, 233 or something to that effect.

Member Avatar for thunderbbolt
0
70
Member Avatar for toncoolx

Hello there, I recently need to use c++ to do a project, and I occur some problems, hoping can get some advices from here, many thanks! My project allow a user to input a number and i need to retrieve the data from a text file. My text file's data …

Member Avatar for toncoolx
0
105
Member Avatar for jimwall80

Hi community members, This is an S.O.S going out to all and any in the group that can offer me help. I am still an amateur programmer using VB6. My computer has been acting up lately and I was forced to restore it to its original settings. I did back …

Member Avatar for agrothe
0
93
Member Avatar for swep

I've been running my application in "Visual Web Developer 2005" on my machine locally. I set up a server and installed IIS on it to access it. Copied all of the files and set permissions. When I type in the application I receive the generic error message, Server Error in …

Member Avatar for justapimp
0
1K
Member Avatar for DemonSpeeding

I have a question about adding say integers to an array-based list of numbers. I know how to add something at the end it would be something like: values[count] = newValue; count ++; What about if someone wanted to add something to the beginning or somewhere between? My book doesn't …

Member Avatar for Ancient Dragon
0
105
Member Avatar for StRoYeR

Hello, I was visiting some sites to find an answer for my question and it was impossible. I hope you can help me because I'm stucked. I want to draw several tiles that after will be used as a 3D terrain.. how can I do it? this is my actual …

Member Avatar for StRoYeR
0
117
Member Avatar for Nthusiast

Hi I am a self-taught asp.net developer - MCP / MCAD / MCSD - with a very good academic knowledge in Microsoft technologies. I haven't work for a company as a developer and lack of that experiece gets in the way against my progress. If any one can help me …

Member Avatar for Nthusiast
0
134
Member Avatar for beatlea

Hello, Is there any way of reading words from a string containg a few words separated by white spaces using a loop? I don't know how many argumets the user will input. I wanted to do it like this: [code] for(i=0;i<wordCounter;i++) { sscanf(input,"%s",argument[i]); } [/code] But this keeps reading in …

Member Avatar for Salem
0
3K
Member Avatar for Cog7777

Hello im using masm to divide two numbers and get a divide overflow error once I execute the file. I don't see why I am getting that output when the quotient is not larger then 16 digits. Why am i getting a overflow error? Here is the code [code] title …

Member Avatar for Cog7777
0
120
Member Avatar for skyah

I have to write an interactive program using scanf() to read in seven strings input by the user. The program should print the seven strings as a list, then sort them alphabetically and print a new list. I have to use the function strcmp() to assist in the sorting of …

Member Avatar for Narue
0
214
Member Avatar for ravinderreddy

want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in Java on windows operating system. Please help me.

Member Avatar for zOlive
0
216
Member Avatar for eldnek

Hi All, I am doing some research for work (this is potentially a commercial project, not student). We have a database of authors and publications. Unfortunately, authors don't have unique ids, and are only identified by inconsistent names (sometimes J Smith, sometimes John Smith etc). I was hoping to develop …

Member Avatar for eldnek
0
87
Member Avatar for jacksonwee

im new to C++ and i got an assignment which required me to do a hangman game. Global variables are not allowed. program must be modular, i.e create suitable functions. for functions, i was told to use reference parameters instead of pointer parameters. i am to use string class and …

Member Avatar for WaltP
0
88
Member Avatar for lestrope

I need help with the following page: [url]http://www.nemesisproject.com/sisemenproject/index_dev.html[/url] When the splash image loads and a user clicks on it it should fade out. I want the file folders that then appear to appear in the center of the page and stay there. However, currently they appear where they are supposed …

Member Avatar for lestrope
0
122
Member Avatar for iCez

Can anyone help me debug this, I am getting a lot of errors. :( here's the example case: [I]User inputs.. Enter Row: 3 Enter Column: 3 Output 1 2 3 2 4 6 3 6 9 [/I] Here's my code: [CODE]import java.io.*; public class Test2 { public static InputStreamReader reader=new …

Member Avatar for iCez
0
94
Member Avatar for martin3

Can somebody help me on how to copy and paste a javascript from another site? I've have been trying to copy a dynamic combo box with multiple options to my page and when I paste it to the page and click the button "search", the button also is from the …

Member Avatar for martin3
0
100
Member Avatar for sawant_nitesh

What is the future of JAVA ? JAVA was overcoming Microsoft's .net because of it's platform independence. As in coming couple of years , Microsoft is going to launch a version of .net that will support all platforms like windows, unix, linux etc. Then will .net become trouble for JAVA …

Member Avatar for hopalongcassidy
0
183
Member Avatar for locy

how do i write a C programm to add two figures together e.g b and h if b = 0125 and h =2354 b = 0+1+2+5 = 8 h = 2+3+5+4 = 14 and the output to be ++++++++ * * * * * * * * ++++++++ * * …

Member Avatar for locy
0
243
Member Avatar for dukedoc

I have this program for computing an individual's cable bill, then summing each column of values and calculating the average of each column. I got a 100 on the assignment, the program works fine, but this time we have to use functions. I created my functions and the program, again, …

Member Avatar for WaltP
0
349
Member Avatar for k7_keshav

can some one help with how to use mouse in c++ can someone help me with how to use click option

Member Avatar for GreenDay2001
0
94
Member Avatar for csteverun

I could really use some help here. I can't figure out what's the problem is, so I've assumed it's all C's fault. I have a function: [code]pf_plot32(Uint32 data[], Uint32 dl, pfplot pattern[], Uint8 pl, Uint32 pr, struct pf_path32 *path)[/code] ..Which takes a pointer to a structure: [code] struct pf_point32 { …

Member Avatar for csteverun
0
208
Member Avatar for tnvkrishna

hello, i wrote a header file the file got deleted while i was compiling it that header file includes a class definition and nothing else what might be the problem? tnvkrishna

Member Avatar for Salem
0
97
Member Avatar for near

Hello everyone,i need help here(urgent!!): here is what my program for: 1.user will enter a string not more than 300 words. 2.change string to lowercase 3.count each word occurrence example: This is a test. This program will count number of each word occurrence. this = 2 is = 1 a …

Member Avatar for near
0
226
Member Avatar for fmwyso

I've "coded" in a few small, easy-to-use nonfunctional programs like VB express and AutoPlay Media Studio (more like scripting) and wanted to kick it up a knotch and heard that Delphi is a great program to use for it. So... I tried it and i am amazed at how completely …

Member Avatar for DesRodman
0
119
Member Avatar for vignesh babu

Hello friends, I got a problem while trying to hide and display the content within the <div> tag. Can anyone tell me how to do it. I tried with the following code its not working. i am using IE only and i want to work in IE only. Actually while …

Member Avatar for Shaffer
0
1K
Member Avatar for domino.vbcoder

Hi all im Domino.vbcoder I am currently writing a security logger for a client, part of the project reads a txt file and searches for a line then replaces the line with a specified string as the code shows bellow, my problem is when it replaces the line with the …

Member Avatar for domino.vbcoder
0
291
Member Avatar for hidash_in

[B]the below code is to list the running exe files in the windows task manager. but i need only the running applications in windows task manager. if aybody knows pls help me by sending code for this. i am awaiting pls.[/B] import java.io.*; import java.util.*; public class GetProcess { public …

Member Avatar for masijade
0
187
Member Avatar for RichardNero

I tried to write this code out, I dont want the answer I just want someone to explain to me what I am missing and doing wrong. Suppose the population of a certain country was 125,000 at the beginning of the year 1995. The population is growing at a rate …

Member Avatar for waynespangler
0
121
Member Avatar for agrawalashishku

Hello Could someone Please give me an idea as to how should I try to play .wav file on an x86 using assembly language in Real mode at the computer startup. Basically at the time when OS has not yet booted. Thank you

Member Avatar for Salem
0
179
Member Avatar for ajay_tabbu

hello friends, I am working with stored procedure in my sql.I m traying to call SP in php but i fail to do that. I have already configer mysqli.dll file in php. but still i m gating error :[B]Fatal error[/B]: Call to undefined function mysqli_connect() in [B]C:\Employees\Ajay\SP\test.php[/B] on line [B]4 …

Member Avatar for ajay_tabbu
0
173
Member Avatar for laxman_project

I need a VB code to open an exisitng excel file and sort a column and store in diff excel sheet.eg i have a column data A,B,C,D,E.the code should sort all the A in the column and store in new excel sheet..as like all B,C,D,E should be stored in diff …

Member Avatar for laxman_project
0
88
Member Avatar for apwade

I am trying to redirect a directory and all pages e.g. /shops/merchant1.htm to a generic file generic.htm using htaccess, does any have any ideas how to do this? Also the generic.htm contains php. I currently have hundreds of shops each with its own htm page, but i really want one …

Member Avatar for RoryGren
0
108
Member Avatar for plusplus

I have the following select statement which works, I need help to adapt it adobau.RecordSource = "SELECT * FROM Liegenschaften INNER JOIN tblbau ON Liegenschaften.Rimo_Liegnr = tblbau.Liegenschaft" my adobau.recordset loops through Liegenschaften and gives me all the info of Liegenschaften that has match in tblbau, but I want some info …

Member Avatar for plusplus
0
105
Member Avatar for kemboy

this is suppose to be a binary search to return the number of times a number is found in the array.............but for some reason it isnt calculating the correct number of times the number is found....already had my paper and pen out trying to find the error but it aint …

Member Avatar for ithelp
0
87
Member Avatar for mona

i am developing a control panel project with vb.net i finished how to create a site from scratch but i wanna add a sub site (sub domain)under the domain of my site how can i do that ? need help whatever the language is. many thanks in advance

Member Avatar for rmangroliya
0
191
Member Avatar for jagpreet

i want to load bulk data files dynamically inot mysql database by using visual basic as front end. i want to get the filepaths dynamically i.e i just enter the file name into textbox and it will automatically load the data into the database. i have written this code myCommand.CommandText …

Member Avatar for jagpreet
0
373
Member Avatar for sarahger9

Hi, I wrote a program that reads a file, by building up text one character at a time, looks for keywords, and replaces them if they are found. I am working on building up my output. The words come out right, and I added the punctuation back in ok. The …

Member Avatar for sarahger9
0
91
Member Avatar for Run.[it]

Currently my program fires out error messages when the user enters information outwith the boundaries. However for every valid entry these will be stored in the array and the entry outwith the boundaries will be listed as blank which I dont want. Id like the program to only store an …

Member Avatar for Run.[it]
0
110
Member Avatar for koolboy

[code] #include <iostream> #include <string> using namespace std; float input_div(string); void findHighest(float, float, float, float); int main() { float nE, sE, nW, sW; nE = input_div( "North East" ); sE = input_div( "South East" ); nW = input_div( "North West" ); sW = input_div( "South West" ); findHighest(nE, sE, nW, …

Member Avatar for parthiban
0
101
Member Avatar for zandiago

[CODE] #include <iomanip> #include <cmath> #include <fstream> #include <string> #include<string> #include<iostream> #include<iomanip> using namespace std; int main() { ifstream infile; ofstream outfile; int num;//number of grades int Hi;//highest test grade int Low;//lowest test grade sting stat;//status of grade, whether higher or lower than avverage infile.open ("grades.txt"); outfile.open ("gradeOutput"); double number;//the …

Member Avatar for zandiago
0
564
Member Avatar for cowboys111

Im writing a program to calulate the distance between two points unsing structures and functions. I have everthing working perfectly except that I cant get it to repeat for a second set of points. My input file has 10 points in it bit it stops after it reads the first …

Member Avatar for cowboys111
0
108
Member Avatar for harishankar

It uses a very simple PHP script to use text files as articles and directories as categories to build a website. It's a very simple CMS and uses no database to store anything. It doesn't have comments or search, but it is a good solution for a fairly static, traditional …

Member Avatar for ItalicVisions
0
180
Member Avatar for beatlea

Hello, I have to write a program using exec() where user can specify the pathname and arguments. I am trying to read in the arguments in the following way: [code] #include <stdio.h> #include <unistd.h> #include <sys/wait.h> int main() { ... int i; char *cmd[100]; char argument[100]; i = 0; for(i=0;i<3;i++) …

Member Avatar for Aia
0
116

The End.