199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mary_forum

hi friends how to send post value in url code is: header('Location:edit_products.php?catid=$_POST[catidHd]&catname=$_POST[catnameHd]'); the $_POST[catidHd] value coudnt taken how to give this $_POST[catidHd] in url tnx

Member Avatar for ddymacek
0
1K
Member Avatar for ntrncx

i am fixing something and i have that fuction in it [CODE]bool DeckOfCards::checkFlush(const Card checkCards) { counter=0; cardCheck=" "; for(int x=1;x<5;x++) { cardCheck=checkCards.suits[x]; for(int y=0;y<5;y++) { found=hand[y].find(cardCheck); if(found!=string::npos) { counter++; } } if(counter==5) { return true; } counter=0; } }[/CODE] it goes here: [CODE]bool result=false; if((result=checkFlush(checkCards))==true) { return winner=5; }[/CODE] …

Member Avatar for ntrncx
0
154
Member Avatar for chixm8_49

Hello. I would like to ask some suggestions to the community. In Arrays, we can implement a 2D array like: [CODE]String[][] testString = new String[][] { {"1", "2", "6"}, {"4", "5", "3"} };[/CODE] How can I implement this in Vector? Or is that even possible? I was doing it in …

Member Avatar for stevanity
0
82
Member Avatar for tawboiid

This question is in regards to the little dynamic image that you can link to in your Daniweb profile (see profile page, bottom right). I was curious how Daniweb is set up to dynamically create these images. I would like to do something similar on my site. Could Dani share …

Member Avatar for tawboiid
0
136
Member Avatar for Vusumuzi

Hello I'm looking for a javascript I can use to rotate my 10 images on 10 seconds interval.

Member Avatar for Vusumuzi
0
99
Member Avatar for jonoman

Hi, Reverentjim kindly gave me this code the other day that worked well. There are two more things i am trying to do but cant get my head around it. 1) I want to be able to extract the text after the second \ and before the period e.g. profile …

Member Avatar for Reverend Jim
0
183
Member Avatar for nav010

Hello Everyone Currently, I am using system("dir") method to call system calls. I want to know any other method for system calls in VC++ 2008. How can I call system call in VC++2008 without using system(" ") method? Any help would be appreciated Thanks

Member Avatar for krishnad
0
142
Member Avatar for catalin4

Hello. I have a file merg.txt: [COLOR="Red"]1 3 11 14 1 5 8 13 1 1 9 10 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 1 12 13 3 3 3 3 3 3 3 3 3 3[/COLOR]

Member Avatar for catalin4
0
103
Member Avatar for BuhRock

So I have this assignment where I am acting as a set. A set that holds numbers. In other words an array I am guessing. So he gave us a generic interface. Then we have to use another class and finish those methods. I'm having trouble because I've never used …

Member Avatar for stevanity
0
170
Member Avatar for coolsasuke

Well, my friend is opening a internet cafe soon . But i need to know how it works to save database, customer's time left and accounts. Im sure they never used MYSQL as database support as it sucks alot. It gets 'too many connections' very often . So how it …

Member Avatar for Techyon
0
142
Member Avatar for rexgb_34

i have a problem in VB6. i have a frmMain, DataEnvironment and Datareport. My form have thirty (30) textboxes to fill-in. at first it all works fine since i filled in only few txtboxes, but when i filled-in all textboxes with many data i could not save the data anymore... …

Member Avatar for rexgb_34
0
132
Member Avatar for raghu.ndu

Hi, I have this PHP code to send mail with attachment... when I send mail without attachment I am getting the message but when I attach something I am getting the attachment but the message body is blank... please help!! Below is the PHP code : [CODE] <?php // Your …

0
111
Member Avatar for bettybarnes

hi guys anyone here willing to educate me about stored procedures, populating the datagridview, and using some bindingsource with 4 butttons, <<,<,>,>> i'm a newbie vb.net programmer willing to learn the use of stored procedures.. tnx GOD bless u guys!

Member Avatar for bettybarnes
0
281
Member Avatar for mary_forum

hi frns how to remove & and space from a string.i just gn in url. wn i get this name using request only the door comes rest will be cut.how to remove & and space prod.php?name=Door%20&%20Window%20Hardware tnx

Member Avatar for diafol
0
288
Member Avatar for TIP.Synergy
Member Avatar for Nastadon

Alright I'm currently in a C++ class and we just got to switch statements, and I can't get them to work for the life of me. I've googled my issue and my code seems to be exactly right, but no matter what my code doesn't work correctly, so I guess …

Member Avatar for Taywin
0
205
Member Avatar for akasekaihime

can I ask a question? how can I accept inputs in PHP...... here is the code..... [CODE]<html> <body> <h4>Grade Form</h4> <form action="testingform.php" method="post"/> Grade: <input name="Grade" type="text" /> </form> <?php if ($grade>="75") { echo "PASSED"; } else($grade<="75") { echo " FAILED"; } ?> </body> </html> [/CODE] [B]the condition is if …

Member Avatar for divyakrishnan
0
108
Member Avatar for D33wakar

Alright, here's the deal.There's a folder with Jpg images and I want to open each JPG image in that folder, rotate it clockwise once and save it with the same name in the same folder. How do I do that with batch programming? We Can't use "Windows Picture and Fax …

Member Avatar for D33wakar
0
133
Member Avatar for harsimran05

when i use border layout and centre alignment, my label content is appearing on left side but i need it on right side, suggest any change here is my code [CODE]import java.awt.*; import javax.swing.*; import java.awt.BorderLayout; class Welcum extends JFrame { Container c; JButton bFd,bAcct; JLabel lWelcome; public Welcome() { …

Member Avatar for harsimran05
0
99
Member Avatar for alltech

i have website and the XML from another site gives booking info within the CDATA and i want to extract the content of this CDATA using PHP and also create a button so when this is clicked this CDAT content is retrieved. Please help

Member Avatar for alltech
0
393
Member Avatar for Buppy

Hi, I have a MySQL database and an array with ID's. For example: $q = array(4,7,9,34,12,3,...etc); The ID count in array can be over 100. What's the best way to select only those rows matching those ID's in array? The usual SELECT * FROM table WHERE ID = '$q[0]' OR …

Member Avatar for urtrivedi
0
287
Member Avatar for davy_yg

When I run the following code: [CODE] <?php $firstname = "First Name"; $middlename = "Middle Name"; $lastname = "Last Name"; $name = $firstname .“ “. $middlename .” “. $lastname echo $name ?> [/CODE] This errors appears: A sharing violation occured while accessing C:\xampp\htdocs\php_exercise\exercise1.php why is it?

Member Avatar for cossay
0
136
Member Avatar for TIP.Synergy

Hello, it's possible to move listview1 subitem(1) to another listview2 subitem(5) please help

Member Avatar for Teme64
0
259
Member Avatar for jovillanuev

Hi expert, When i try this script i got 2 esn number with different shipdate and supplierid. were us it should be the latest shipdate should be obtain. Any Idea guys. thanks. [CODE] TABLE1 ESN 123 TABLE2 ESN--SupplierID--Shipdate 123--40----------2011-04-27 123--14----------2011-07-02 Select vp.esn, us.supplierid, us.shipdate --(Select Max(shipdate) from TABLE2 where vp.esn …

Member Avatar for jovillanuev
0
162
Member Avatar for dunc_k

I'm a c++ server side developer, and someone has asked me to write a system for their small business, and I know nothing about the tools available. In fact, Im so out of date in this area, that my first thought was to use Ashton Tate dBase 4! anyone remember …

Member Avatar for Database Shardi
0
160
Member Avatar for caswimmer2011

Hey, I've had this question for a while now and forgot to post a thread asking it. I'm really interested in databases and i've been wanting to create a program that recalls information from a database. I've done one that reads a text file but that just seemed...boring to me. …

Member Avatar for caswimmer2011
0
89
Member Avatar for vishalbhavsar

Hi, I am trying to generate javadoc from the file "C:\Program Files\Java\jdk1.6.0_26\src.zip" by using the command "javadoc". But I am not able to do it. How to use that command?

Member Avatar for JamesCherrill
0
109
Member Avatar for jyo1988

hi all, I am having 1 combo box and 3 text boxes in my jsp page. combo box is empid and and the other are name,desig and dept. when i select the empid, need to come all other values into text box fields from database. any ideas please share with …

Member Avatar for javaAddict
0
273
Member Avatar for bhavna_816
Member Avatar for falconmick

Ok... I know that this is probably a stupid question.. but does VS2010 have a built in C# dev enviroment... I looked and looked, then googled and googled and I can't find if it does or not.... btw I'm using the free profesion student edition from [url]https://www.dreamspark.com/[/url] if that's any …

Member Avatar for ddanbe
0
168
Member Avatar for selma_aktra

Hello! I write a simple java program. The user will give a URL adres which have some flags. I will parse the URL by this flags. For example the user will give [url]www.exampledomain.com/abc/[/url][[FLAG1]]/abc_[[FLAG2]]gfc I need to parse load to string parsing the URL: String[1]=www.exampledomain.com/abc/ String[2]=/abc_ String[3]=gfc I need to ask …

Member Avatar for selma_aktra
0
180
Member Avatar for Ehtesham Siddiq

Hi, My application is in VS2008 coded in Vb.net I have a datagridView on one of my form.This is filled from the database at the load event of the form.The datagridView also has a column of type DatagridViewComboboxcolumn. This DatagridViewComboboxcolumn already has 4 values added to it in its collection …

Member Avatar for Ehtesham Siddiq
0
253
Member Avatar for nagatron

If have a java program with 4 JTextField. In my JButton add, the event code goes like this: [CODE]add.addActionListener( new ActionListener() { //Handle JButton event if it is clicked public void actionPerformed(ActionEvent event) { try { String add = "insert into person (firstName,middleName,familyName,age) values ('"+inputs[0].getText()+"','"+inputs[1].getText()+"','"+inputs[2].getText()+"',"+inputs[3].getText()+")"; st.execute(add); //Execute the add sql …

Member Avatar for nagatron
0
109
Member Avatar for kaskoraja

Hi I have a file with format like [code] 8520,9.19E+02 8521,9.15E+02 [/code] where 9.19E+02 is equal to 918 and 9.15E+02 is equal to 915 I need import this file into another program.But it doesn't this "E" format that is generally..can anyone suggest a way to convert this entire file to …

Member Avatar for woooee
0
102
Member Avatar for khentz

I have a textbox for searching in my access database. For example, my database is dbEmpLis; my table name is tblEmployee; columns in my tblEmployee are fName, lName and mName. What I want to do is,when a user type to the search box, and click the search button, it will …

Member Avatar for Techyon
0
125
Member Avatar for khentz

Here's the setting, I have many link labels in my form(I guess around 150 link labels). All of them will handle a click event, with the same condition when clicked. What are the possible solutions regarding to this problem. Because it's not good if I'll do it one by one. …

Member Avatar for GeekByChoiCe
0
196
Member Avatar for Rass Saee

I need to get the current time from Internet using C language. Any help is appreciated, hopefully a source code sample. Thank you in advance.

Member Avatar for naavinm
0
136
Member Avatar for hueikar

Hi guys, I have the following coding and i would like to save it using save file dialog. Any idea? Thnx. [CODE] Dim numCols As Integer = dgvExp.ColumnCount Dim numRows As Integer = dgvExp.RowCount - 1 Dim strDestinationFile As String = "c:\username.txt" Dim tw As TextWriter = New StreamWriter(strDestinationFile) 'writing …

Member Avatar for samson_zed
0
601
Member Avatar for vinadaytravel

Hi, I want to make a notifier for showing online users and number of room booked. But i don't know how to code it. Can anybody help me? Thanks in advance.

Member Avatar for vinadaytravel
0
36
Member Avatar for kplcjl

In a library file (dll) I know you can modify an existing property and the exe continues running without recompiling. If you add properties to the dll class and if it isn't critical that the exe knows about them, would the exe continue working without recompiling? Personally, I'll bet not, …

Member Avatar for Momerath
0
146
Member Avatar for sythja

Ok, here is what I am trying to do, it is basically a card maker. I need to be able to save the finished products in a single bmp with all text and both the card background and card pic (the area in white which will be able to have …

Member Avatar for sythja
0
143
Member Avatar for ruchi18

I am having an issue in my project trying to developing a mail webservice but getting an error transport failed to connect to server. Below is the code... [code] protected void btnsubmit_Click(object sender, EventArgs e) { MailMessage mail = new MailMessage(); mail.From = "ruchi.dubey18@gmail.com"; mail.To = txtTo.Text.Trim(); mail.Subject = txtSubject.Text.Trim(); …

Member Avatar for kvprajapati
0
654
Member Avatar for kayak_186

[CODE]update companystatistic set ReferencePrice = (select ClosedPrice from companystatistic WHERE CompanyID= 310 and ResultedDate = CURDATE() - 1) where ResultedDate = CURDATE() and CompanyID= 310 [/CODE] I have a same code. But it's not work.. help me..! thanks all

Member Avatar for kayak_186
0
150
Member Avatar for coolbeanbob

Hello Everyone, I am trying to implement an overloaded < operator. I found the code below at [url]http://www.java2s.com/Tutorial/Cpp/0200__Operator-Overloading/Theoverloadedlessthanoperatorswithdoublevalue.htm[/url] I am trying to use this as a tutorial, but I don't understand what is happening on line 23-24. I am also a little fuzzy on line 9. Why can't it be …

Member Avatar for NathanOliver
0
188
Member Avatar for dankolo

Greetings. I am curious about having the php config file in the web root. I am coding a site for a client and their web host has their php.ini file in the web root. Is that not a security risk? I have never heard of having it there before. I …

Member Avatar for mlm2gether
0
111
Member Avatar for Prisms

Hey guys I'm new to java and was wondering if I could have a little assistance. I need to have a user input their number of classes, hours for each class and the grade they received after the information is given i need to calculate their GPA. I have gotten …

Member Avatar for Prisms
0
3K
Member Avatar for katyanni_27

The following code is a part of my project and the output of this code is that i get all the title of the posts in the database and a delete hyperlink in front of all enteries now when i click delete for a respective title it should be deleted …

Member Avatar for kvprajapati
0
599
Member Avatar for tfj

I have two projects: [B]SQLtesting [/B]and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on …

Member Avatar for tfj
0
1K
Member Avatar for Virangya

hi, i'm using UTF-8 in my database and when i insert unicode characters directly through database it's all fine. But when i'm inserting through an html form using php it sends some kind of other characters to the database e.g : &#3462;&#3514;&#3540;&#3510;&#3549;&#3520;&#3505;&#3530; how can i solve this...???

Member Avatar for Virangya
0
169
Member Avatar for glut

Hi, I'm learning OpenGL. I assumed this would be the best section to post this thread, because many games are made in OpenGL. There's no place to post this in my other forum, so yeah, I came here. Anyways, here's the problem. I first off do not have glut.h I …

Member Avatar for sfuo
0
212

The End.