199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tcollins412

i am writing code and i keep getting the error: mysql_fetch_array: supplied arguement is not a valid mysql resource. here is the code: [CODE] <?php include"dbconnect.php"; $item=$_POST['item']; $query3="SELECT * FROM selling WHERE name LIKE %item% AND state='$state' LIMIT 0,30"; $result3 = mysql_query($query3); while($item = mysql_fetch_array($result3)){ echo "<img src='$item[pic]' alt='pic'><a style='color: …

Member Avatar for ko ko
0
109
Member Avatar for ryathegr8

hi em doing BS.Software engineering, as its my last semester and want to take Final year project. em just confuse of what to take. i want to do something for my university but as i gone through my university systems they are hell complex. can anybudy suggest me. i want …

Member Avatar for ryathegr8
0
162
Member Avatar for sing1006

well,this is my college assignment question.the question ask us to write a program that can compare 3 number,who is the biggest and smaller.the output should be like this: Enter 3 numbers. Number1: Number2: Number3: Main Menu 1)Find the biggest value among the 3 value you have enter juz now. 2)Find …

Member Avatar for ravenous
0
388
Member Avatar for Nandomo

I don't know how to get the program to display properly any tips? Also would anyone guide me on how the logic works for deallocating all this memory please. [CODE]#include <iostream> #include <cstdlib> #include <windows.h> using namespace std; struct Entry { char name[23]; int age; Entry *next; }; // Prototype …

Member Avatar for rxlim
0
108
Member Avatar for Howdydoody

1) Write a function that merges two instances of the List ADT using the following specifications: MergeList (List list1, List list2, List& result) • list1 and list2 have been initialized and are sorted using function ComparedTo • result is a sorted list that contains all of the items a. Write …

Member Avatar for ravenous
0
650
Member Avatar for vbnetworker

My Form have a multiline textbox. In this textbox, theres lines like that: name1 - phone1 and i have to convert every line in 2 variables (or array). eg: name = "name1" phone = "phone1" how could i make it?

Member Avatar for vbnetworker
0
169
Member Avatar for JavaHelpNeed

Below Is The Love Program Written in c++, I tried it writing with Java But, didnt understood to Do. WIll Anyone Help me Please [CODE=c++]#include<iostream.h> #include<conio.h> #include<string.h> #include<ctype.h> int FindPER(char [],int); void main() { int len,i,PER; char n[100],sen[200]; clrscr(); cout<<"\n Your Name>"; cin>>n; strcpy(sen,n); strcat(sen,"LOVES"); cout<<"\n Your Partners Name>"; cin>>n; …

Member Avatar for javaAddict
0
305
Member Avatar for Gazzmonkey

Hi all, I've got a small problem with a database I'm working on, the project was given to me by college kids & their Teacher to complete. They created the database using Access 2007 and I'm left building a Windows App user interface in Visual Basic. Anyway I can't figure …

Member Avatar for Gazzmonkey
0
136
Member Avatar for realproskater

So all i have to do is clean it up but cant find the source to the actual error. Heres my code: [code] #include <iostream> #include <fstream> #include <string> using namespace std; bool isVowel(char ch); string rotate(string pStr); string pigLatinString(string pStr); int main() { ifstream infile; string newstr; int length; …

Member Avatar for djarn
0
172
Member Avatar for spencer.kindt

I feel like I'm really close... I'm supposed to have some other things configured and use JOptionPane... but I can't get the numbers to output correctly... [CODE]import javax.swing.JOptionPane; public class M3_2E5 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub //declare variables …

Member Avatar for spencer.kindt
0
284
Member Avatar for slygoth

[code] # include <stdio.h> # include <conio.h> # include <time.h> # include <stdlib.h> # include <string.h> # include <ctype.h> int start; int last; # define SIZE 10 int largest (int num[],int msize); int smallest(int num[],int asize); int main() { int num[10]={0}; int i; int min; int max; int pick; int …

Member Avatar for slygoth
0
153
Member Avatar for tsbrownstone

I am attempting to run a delphi 7 developed application on a windows 7 64bit laptop. I've placed the redistributables in the system32 folder, like always. the application has been installed in the program files (x86) directory (it didn't work at all under the program files directory) when I go …

Member Avatar for tsbrownstone
0
350
Member Avatar for banks2140

I keep getting errors saying that the scanner statement is not a statement. I am also getting more errors such as, expecting ";" on the scanner line and that my celsius statement which does the math to convert Celsius into Fahrenheit. I need help correcting these errors [CODE]import java.util.*; import …

Member Avatar for jon.kiparsky
0
612
Member Avatar for xshashiy

hi i want to generate non repeated random numbers many times. for that i m using the following code. [code]#include "sys/types.h" #include "stdio.h" #define MAX 200 #define N 20 main() { int array[N],r; int n = 0; int count_check,count_gen ,i,j; for(j=0;j<10;j++,printf("\n")) { srand(j); for (count_gen=0;count_gen<=MAX;count_gen++) { r = rand()%N; for …

Member Avatar for slygoth
0
225
Member Avatar for fluffybunny69

Searched hours online to no avail. This should be fairly easy for anyone experience with PHP (aka not me!) All i'm trying to do is create a text search box and send button. 1. Users will add a keyword and click send. 2. Link to an external website that loads …

Member Avatar for ko ko
0
226
Member Avatar for gauravk_bhanot

[ICODE]select eid from(select count(*) cnt,eid from certified group by eid)as foo where cnt=(select max(cnt) from (select count(*) cnt,eid from certified group by eid)as goo);[/ICODE] This query displays the eid with maximum no of entries in the table certified. Which in this case is no. of aircraft licensed to an eid. …

Member Avatar for gauravk_bhanot
0
103
Member Avatar for designalex

Hi,i have a small problem with the following... a users posts a vehicle to the database, the form allows for posting with 3 images. when i display the form using a while loop i need to display the images, my problem is that i want to check 3 images 0r …

Member Avatar for designalex
0
213
Member Avatar for alex55

i have this function that should compare values and return a string based on input from the main function. However it returns no value at all does anyone see and issue with it? have checked all the input it is getting the correct values highestMontName and averagedMonth are declared globally …

Member Avatar for alex55
0
124
Member Avatar for raghujosh

I am developing an application wherein I have a JSP page with clickable links to all the 26 alphabets. In my database, I have data starting with all the alphabets. The way, I have(want to) structure the application is something like this. I click a alphabetical link, say A, it …

Member Avatar for raghujosh
0
295
Member Avatar for ronthedon

How do i get the loop to go back and prompt using for a valid number? #include<iostream> #include<conio.h> #include<iomanip> #include<string> using namespace std; int main () { string firstName; string lastName; int score1, score2, score3, score4, score5; float totalpoints; cout<<fixed<<showpoint<<setprecision(2); cout<<"Please enter the student first and last name: "; cin>>firstName>>lastName; …

Member Avatar for ntrncx
0
137
Member Avatar for JeremyK2

I have a class that stores all of my variables and functions (for our purposes, DataClass), and a few different windows form classes that use the public variables and functions in DataClass. I need to keep the values of the public variables in DataClass until the program closes. I set …

Member Avatar for rxlim
0
207
Member Avatar for gungrayve

I created an app that reads two columns from excel file and search for each file in column A. if file is found then it is renamed to what column b says and moved to a separate folder. This part of the code that i am having issue, please help!!! …

Member Avatar for Rynkadink
0
171
Member Avatar for jakizak

I've seen over the last few days many people on the internet and various forums asking for how this is done. Now there is plenty of posts out there that explain how to do this. However I have yet to find one that explains how you work it into a …

Member Avatar for jakizak
0
160
Member Avatar for katmai539

Hi there, In a form i have a datagrid with two columns. The columns are about 40 pixels wide and i can't find a way to have them larger when the program loads. Does anyone know a way to do this? Greets, K

Member Avatar for katmai539
0
376
Member Avatar for ajinkya112
Member Avatar for Rynkadink
0
142
Member Avatar for Mr. K

What is wrong with my code? My fps time is not working.I found two errors in my code. Error 1 error C3861: 'install_timer_ex': identifier not found. Error 2 error C3861: 'textmode': identifier not found. [CODE]#include <allegro.h> BITMAP* buffer = create_bitmap(480,480); volatile int fps = 0; volatile int avg_fps = 0; …

Member Avatar for rxlim
0
211
Member Avatar for TIP.Synergy

I am using update query statment but is not working for this code [CODE]Dim myConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source= Provider=Microsoft.Jet.OLEDB.4.0;Data Source=../lms/DBLMS.mdb") Dim item As Integer myConn.Open() myComm = New OleDbCommand("UPDATE tblVehicles SET Vehicle_Type = " & cboVehicle_Type.Text & ", Vehicle_Model = " & txtVehicle_Model.Text & ", Plate_No = " & …

Member Avatar for DONPAWPAW
0
5K
Member Avatar for newbie14

Dear All, First I have a combo box populated from mysql db. Then onChange of the first combo box then I would like to populate my second combo box. I am trying out the jquery method as below. The first combo box id is $clientID. The problem I dont get …

Member Avatar for SolidSolutions
0
846
Member Avatar for new_developer

Hi there, I am new in web development. I think this problem is related to javascript. My javascript script is below which changes images after 2 sec. But when i call my start function in img tag in my third row div of my layout, it does not show images …

Member Avatar for SolidSolutions
0
234
Member Avatar for ayushi12

heyy..plz suggest me new C#.net project topics other than managemant systems..

Member Avatar for ddanbe
0
97
Member Avatar for archanaj39

I want class,ER,Activity,Sequence,Usecase Diagrams for job portal as soon as possible.

Member Avatar for debasisdas
0
220
Member Avatar for abcdef1

Hi, I have below code : [code]my($abc) = "fred<hello>3hello"; $abc =~ /^[^\d]{2,4}<([^>]+)>\d?\1$/; if (defined($1)) { print "$1\n"; } else { print "not found\n"; } }[/code] What is the code doing ?? what function of the regular expression [code]$abc =~ /^[^\d]{2,4}<([^>]+)>\d?\1$/;[/code] Please advice what it do ??

Member Avatar for masijade
0
162
Member Avatar for radhikakumaran

Hello all, I hv jst recently started using C# and i need to read some Xml documents using C#. I hv a Xml document as , [CODE] <?xml version="1.0" encoding="utf-16"?> <add>< fnum>12</fnum> <snum>12</snum> </add> [/CODE] Now, i need to independently get the values of the elements fnum and snum and …

Member Avatar for bhagawatshinde
0
194
Member Avatar for ziadkassam

I have a program for students in my school uses asp with mssql database with a small server in the school, and I want to make a website with php and mysql database, can I always update the queries by exporting the mssql to mysql? and how I can do …

Member Avatar for ziadkassam
0
205
Member Avatar for Shodow

when i try to add a record [CODE]Private Sub cmdDone_Click() Dim Rs As New ADODB.Recordset Set Rs = New ADODB.Recordset Call ServerConnect Rs.Open "SELECT * FROM list1", conn, adOpenStatic, adLockOptimistic Rs.AddNew Rs!CustomerName = txtName.Text Rs!ContactNumber = txtContact.Text Rs!Date = dt.Value Rs!TimeStart = cmbStart.Text Rs!TimeEnd = cmbEnd.Text Rs!Event = cmbEvent.Text Rs!Guest …

Member Avatar for AndreRet
0
198
Member Avatar for coervivekmca

i am having access denied error while uploading resume to server ?now wht to do ... i am sending u code .is there any requiremet to add jar file and where to put it in web directoty .ex.u can see [url]www.reeenovo.com/index.jsp[/url] plz help me..regarding the same

Member Avatar for shivarocks
0
85
Member Avatar for fugmag

Hi, I have set up pydev in eclipse from the download site, but when I try to add a new pydev project I get the following error i the new-project wizard: [CODE] .project found in C:\workspace(use import project) [/CODE] But I have no project called that in my workspace. I …

Member Avatar for fugmag
0
72
Member Avatar for azzu khan

when i select option button of fastfood it retrieve the data in two listbox from database. i m using 4 list box one(check style list box) is for food item another(simple list box) is for cost. when i selects(checked) any fooditem then a inputbox will occur for entry of food …

Member Avatar for AndreRet
0
196
Member Avatar for nallasivam25

**i'm having the problem of capturing all the coordinate value of pixels while dragging with the mouse using mousedragged event in java** while i'm dragging slowly i'm able to get all the coordinate value of pixels but when i'm doing it fast i'm getting only one third of the pixel …

Member Avatar for JamesCherrill
0
347
Member Avatar for Shodow
Member Avatar for abhi10kumar

Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ??

Member Avatar for jay.gadhavi
0
181
Member Avatar for Beat_Slayer

Simple script for image transparency. Someone asked one some time ago, and i had other but for a different system, and decided to write a Python/PIL version. The value of the color used as transparent is the value of the pixel at position (0, 0). You can adjust tolerance value. …

Member Avatar for gleam.uahmed
0
1K
Member Avatar for Shodow
Member Avatar for elsiekins

Hello, I have a program that uses getchar() and slightly confused and tried googling and it made it worse [ICODE] cout << ">What is the expected letter <<"\n>"; expectedLetter = getchar(); putchar(expectedLetterl); string exletter = expectedleter + post; cout <<">Do you wish to enter another letter (Y/y)/(N/n)\n>"; repeatIn = getchar(); …

Member Avatar for elsiekins
0
162
Member Avatar for sj5536

hi, i created project in java using eclipseIDE now the project is completed i have to create executable of that project that means i have to install that project on client side how should i do thanx

Member Avatar for stultuske
0
98
Member Avatar for luweegee

I cant update my data i know theres something wrong in my code...pls help me guys i need this code ASAP... :( [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <head><link rel='stylesheet' type='text/css' href='Style.css'/></head> <body> <table border=0 align='center' width=900 cellpadding=20 cellspacing=0> <tr><td class='title' colspan=2><h1>Update Record</h1></td></tr> <tr> <td class='borderBaba' …

Member Avatar for luweegee
0
166
Member Avatar for AnGeL_69

im wondering if any1 can send me the function that evaluates the value of a postfix expression in c++<<using stacks>>... i really need it as soon as possible.. :sad:

Member Avatar for khanmj89
0
251
Member Avatar for BenzZz

I know it doesn't make a massive difference but what software do you guys write jsp (or any other web development language for that matter) in? I used ModelWorks Jpad Pro but it started to annoy me so what do you guys recommend? Thanks in advance :)

Member Avatar for peter_budo
0
135
Member Avatar for Shodow

can u give me a module code for connection i am using mysql table: list1 database: database1 username: root password: N/A

Member Avatar for AndreRet
0
228
Member Avatar for Ra1sed

Hi, i want some help on my VB game (school project). My vb is 6.0 and i want do match image. i want do 6 random pictures, if you can help me, tanks

Member Avatar for AndreRet
0
807

The End.