199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for d.jobinraj

the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// function addReceipe($resname,$restype,$rescatg,$resing,$resmethod){ if(!get_magic_quotes_gpc()){ $resname = addslashes($resname); $restype = addslashes($restype); $rescatg = addslashes($rescatg); $resing = addslashes($resing); $resmethod = addslashes($resmethod); } $q = "INSERT INTO ".TBL_RECEIPE."(rescp_name,rescp_type,rescp_catg,rescp_ing,rescp_method) VALUES …

0
118
Member Avatar for d.jobinraj

the problem is town and user values is not adding to the database,other than this feilds,other thuings are working down....... please,give me your suggestions. //database.php// <? /* The Database class is meant to simplify the task of accessing information from the website's database */ include("constants.php"); class MySQLDB { var $connection; …

0
175
Member Avatar for kevcpu

I am currently reading data from a webpage form, using the data to generate xml, using xslt to translate the data into an html format and emailing the html. Is there a way to transform the data into a pdf format and send this as a file instead? I have …

Member Avatar for iceandrews
0
117
Member Avatar for Lord_Migit

hey folks, i have a problem which seems to be reasonably simple but i havnt managed to figure it out yet. Iv read alot of the other threads on this but i still havnt found one that iv both understood and solved my problem. So here goes... Its concerning returning …

Member Avatar for Lord_Migit
0
136
Member Avatar for deepakrajpal

hiii friends... i m gonna work on modeling ajency based website project. major requirements are: user registration with authentication, their uploads, galleries and ofcource a great search options such as age wise, sex wise. plz tell me what will be the best framework (or cms) i should use. according to …

Member Avatar for mschroeder
0
139
Member Avatar for lytnus

I have a design question which I have not been able to find a satisfactory answer for by searching. Essentially, I have a class - Base - that contains a vector of pointers to another class - Node. However, I would like to be able extend both the Base and …

Member Avatar for lytnus
0
292
Member Avatar for TheComputerGuy

The code will work if compiled in terminal. It does not work if I use Eclipse, it simply gives me an Array Out of bounds. It mentions the ARGS[0] as the out of bounds part. Any suggestions? [CODE]/* * * Test Case 1: 1. James 2. David 3. Melanie 4. …

Member Avatar for NormR1
0
108
Member Avatar for udtohan_noriel

Guys, could someone help me to make a program that will display this not using if-else statement. I want to learn how to make it using for loop statement and any statement that will make this program short. I need 1 Program using for loop and another program but not …

Member Avatar for Duki
0
318
Member Avatar for gskoli

Dear all, Let me tell you the scenario , i have called javascript function on radio button selection , Ex. Suppose There are 3 Radio Button . Let us consider i have clicked on one radio button then javascript is called on that and it get 'checked' But again if …

Member Avatar for gskoli
0
669
Member Avatar for vibhaJ

HI All, my requirement is as below: lets product name is "aaa bbb ccc". Now in search coding i have use LIKE statement. [CODE]"... where product_name LIKE '%".$keyword."%'"[/CODE] Now when user insert 'aaa' or 'bbb' or 'ccc' or 'aaa bbb' or 'bbb ccc' search works. But if user insert 'aaa …

Member Avatar for mwasif
0
111
Member Avatar for hknight

In this example, I want "ABC" to be replaced with "XYZ": [url]http://pastehtml.com/view/1avqmak.html[/url] I am posting data using AJAX and I want to use JavaScript to replace the response before the response is returned. If you test the link above you will see the issue. Here is my code: [CODE]<!DOCTYPE html …

Member Avatar for hknight
0
156
Member Avatar for vibhaJ

HI All, my requirement is as below: lets product name is "aaa bbb ccc". Now in search coding i have use LIKE statement. [CODE] "... where product_name LIKE '%".$keyword."%'" [/CODE] Now when user insert 'aaa' or 'bbb' or 'ccc' or 'aaa bbb' or 'bbb ccc' search works. But if user …

Member Avatar for vibhaJ
0
101
Member Avatar for yamini222

Hi all, I need some help here, The data in textbox looks like this: [CODE] M/z= 151.874862, P= 32.624691%, Rel. Int.= 78.220479% M/z= 152.878217, P= 0.352860%, Rel. Int.= 0.846011% M/z= 153.871912, P= 41.708632%, Rel. Int.= 100.000000% M/z= 154.875267, P= 0.451109%, Rel. Int.= 1.081573% M/z= 155.868962, P= 19.995706%, Rel. Int.= 47.941409% …

Member Avatar for yamini222
0
126
Member Avatar for kvij

Hi Experts, I am unable to login into oc4j after giving the correct username and password. i am able to get the oc4j enterprise manager and able to enter the username and password. but when i click submit button, it is not allowed me to proceed. Pls give me the …

Member Avatar for peter_budo
0
258
Member Avatar for satish2

hi everyone I want to develop a web browser.....can anyone suggest me how to develop it in java ...

Member Avatar for daudiam
0
82
Member Avatar for agr8lemon

Hello everyone, I hoping you can help me. I've got a table that I want to be able to show/hide rows based on what check box is checked. By default, I don't want anything displayed, then if you check a or some of the check boxes you'll see the data. …

Member Avatar for parry_kulk
0
2K
Member Avatar for daudiam

I was reading an SCJP book by Khalid Mughal and I came across a statement [QUOTE]Enum constants are static members[/QUOTE] and another [QUOTE]Enum constant is an instance of its enum type[/QUOTE]. I am unable to reconcile the 2 statements. Are the constants static members or are they instances ? (Instances …

Member Avatar for daudiam
0
364
Member Avatar for king chandel

hi all,I want to learn assembly language.I know nothing about it.can anyone suggest me any book for begginers? thanx a lot

Member Avatar for Auraomega
0
92
Member Avatar for brown23

Hey Guys! I'm really wanting to start learning a beneficial, but fairly easy-to-use programming language. I've tried to discuss this at other online communities and have also asked this question at a few seminar's I've been to recently. My objective is to create more advanced software that interacts with the …

Member Avatar for vegaseat
0
1K
Member Avatar for daudiam

Its said that enums can be nested as top-level type declaration. Does it mean that it can be declared as a data member of a class, but it cannot be declared as a data member of a nested class as the nested class id not top-level ?

Member Avatar for daudiam
0
80
Member Avatar for scholar

Hello friends, I have a dynamic programming problem and would like to discuss it here.The problem goes as Given an integer array A[0....i] convert it to an array of strictly increasing numbers. The operations allowed are 1)Decrease an element by amount x: cost of operation=x 2)Delete an element k: cost …

Member Avatar for Adak
0
161
Member Avatar for mrrko

Hi everyone. Im from Puerto Rico, and Im studying Computing Science. Im actually taking my first course of programming, and it is called "Introduction to computer programming", and we are programming with C++. At this point almost everything has been theory, but now we are starting with practice, and I …

Member Avatar for Fbody
0
752
Member Avatar for gunjannigam

I am writing some data to a file using FileWriter and BufferedWriter. I want that while writing in the file if somebody else wants to open the file in MS Excel, it should open only in read only mode Here is a snippet of my FileWriter and BufferedWriter [CODE] while(true) …

Member Avatar for masijade
0
157
Member Avatar for phplover

Hi I am wondering if one of the PHP pros on here could answer this question for me. When validating user input to be put into a database like mysql, i use mysql_real_escape_string() but i also use strip_tags(), htmlentities() and trim() . My question is should i just be using …

Member Avatar for phplover
0
188
Member Avatar for miraj0072004

hello friends, I have s small problem, say if I declare a variable as String name="miraj"; now i want to use the value of the variable name, that is "miraj" and create a file using that name, which means something like miraj.txt ... how do I do it? The part …

Member Avatar for miraj0072004
0
97
Member Avatar for prasanthsagar

Hi everyone... I have designed a page in which i saved two themes. The selection of the theme is controlled by a dropdown list. So, as soon as the theme is selected from the dropdown list, it is applied to the whokle page. Now, my doubt is ...I want to …

Member Avatar for prasanthsagar
0
163
Member Avatar for 1corrie2

I'm having trouble finding help on this specific problem and I'm new so please forgive me. I'm trying to add a drop-down or checkboxes that allow my client to send the information to a secific email address. I'm trying to get this to work within my existing form and I …

Member Avatar for Triztian
0
160
Member Avatar for michael.ngobeni

I have a string "Hello World" I want to change the color of [COLOR="red"]Hello[/COLOR] to red using the [B]setCMYKColorFillF[/B] function. I'm writing the string to a PDF file I know I'll use to write to the pdf: private PdfContentByte WriteTxt = null; WriteTxt.setCMYKColorFillF(float Cyan, float Magenta, float Yellow, float Black); …

Member Avatar for masijade
0
291
Member Avatar for macdonald12

Hello people, I'm trying to collect some data stored between <body> and </body> tags inside a string. Here's a piece of the code i'm using: [CODE] $regex = '/<body>(.*?)<\/body>/si'; preg_match($regex, $content, $content); $content = $content[0];[/CODE] This works perfect, except that it also includes the above mentioned tags. I would just …

Member Avatar for macdonald12
0
190
Member Avatar for myk45

Hello. Well, unlike C, C++ provides a concept of headers(not header files) and that these headers are something like a collection of names, which may mapped as header files by the compiler. Can anyone please correct me if im wrong in my above understanding. Also please state the main difference …

Member Avatar for Fbody
0
174
Member Avatar for Kadafiz

heyy... i need to print a form and validate data . for both actions i need only one submit button. i did like this.[CODE]<input name="btnSubmit" type="submit" onclick="return validate(); window.print() " value="Print Bill" />[/CODE] bt it is not working.. please can some one give me a help..

Member Avatar for saideepthi.bits
0
214
Member Avatar for shadwickman

I'm not sure if this is the best place to post this, but I've noticed a large request for pyHook for Python 2.6. I had a solution to this in a recent thread [URL="http://www.daniweb.com/forums/thread203368.html"]here[/URL], but people are most likely going to miss that. I built pyHook's source for use with …

Member Avatar for bujisky
0
613
Member Avatar for super_noobie

hey all I have a standard php form and I want a to add paypal purchasing action to it as well. is there an easy way to do this? thanks in advance

Member Avatar for sheltonjb
0
212
Member Avatar for Jawahar prabhu

when i try to compile lwuit with netbeans it shows the follwing error "Error preverifying class com.sun.lwuit.impl.midp.SVGImplementation$Handler java/lang/NoClassDefFoundError: javax/microedition/m2g/ExternalResourceHandler" please anyone help me.... thanks in advance.. Regards., jawahar prabhu

Member Avatar for peter_budo
0
102
Member Avatar for Krs13

Hi, In vb i use Data Form Wizard and connect access database and create a form which automatically creates update,add,delete,etc buttons. Now what i need is when i open the form and enter (say some student id)in a field then the next field is the student name which should be …

Member Avatar for AndreRet
0
172
Member Avatar for arh

Hi guys. I'd like to learn how to make games. I'm on a mac, so I suppose I'd like to learn how to make it on a mac. I know java pretty darn well and I'm not to shabby in C++. I've also got a large book on openGL. I …

Member Avatar for Nick Evan
0
253
Member Avatar for bops

Hello. I am relatively new to ASP.NET and after having a good mess around myself I have come to a stand still. I have a menu "web.sitemap", a master page "masterpage.master" and a content page "content.aspx". I would like to have my menu displayed on every page in my website …

Member Avatar for Andreas5
0
90
Member Avatar for jemz

hello can you help me please i have exe file and it runs okay in my computer...but when i transfer it from another computer my exe file will get run time. here is the message.. Run Time error '339' Component 'msflxgrd.ocx' or one of its dependencies not correctly registered: a …

Member Avatar for kinwang2009
0
162
Member Avatar for bjeffries

How do you get URLs like below when using php? [url]http://domain.com/photos/022010/01/[/url] Where it normally is written like this: [url]http://domain.com/photos.php?date=022010&id=01[/url] I see sites like this all the time now and am curious how this is accomplished. I do have an idea though... When creating a directory for example photos. Do I …

Member Avatar for bjeffries
0
179
Member Avatar for challarao

Hi! I have seen a function to do "atoi for converting a string to its numeric equivalent. It copes with optional leading white space and an optional + or - sign. " The structure of the program reflects the form of the input: skip white space, if any get sign, …

Member Avatar for Adak
0
124
Member Avatar for myk45

Hello. i needed a variable size bit string. And since bitset provides several operations, i wanted to use it. But is it possible to make it a variable size one? [CODE]class TryBits { private: string s; bitset<n> b; //now i need n = s.size(). };[/CODE] How can i achieve this? …

Member Avatar for myk45
0
3K
Member Avatar for mahdi68

Hi i have probleam on run application , when i click on "Launch as emulated Java ME JAD" this message shown : [QUOTE]com.sun.kvem.midletsuite.InvalidJadException: Reason = 22 The manifest or the application descriptor MUST contain the attribute: MIDlet-1[/QUOTE] but its run true when i click on "Launch as emulated Java ME …

Member Avatar for peter_budo
0
96
Member Avatar for arctushar

Hi I m from bangladesh. I want to develop a software for bangla language. I mean for bangla typing. similar to google indic bangla. But little different and offline use. I mean system keyboard software. But Not Microsoft keyboard creator. I want to make it by vb.net. So plz give …

Member Avatar for ÜnLoCo
0
127
Member Avatar for gunbuster363

just as the topic, my boss told me that I should be writing some java api and need me to prepare for it because I've never write it. So, what exactly is "writing java api"? it's the api already been there? I think it is relate to websphere something... I …

Member Avatar for coil
0
154
Member Avatar for palavi

Hi All, I m trying to send a simple mail... but not able to send because of this exception [CODE]thread "main" javax.mail.AuthenticationFailedException:[/CODE] and the problem is in this line here is the simple java class for sending mail [CODE]public class SendMailUsingAuthentication { private static final String SMTP_HOST_NAME = "tx.technoinfo.in"; private …

0
101
Member Avatar for TheSecOrg
Member Avatar for muzikhera

Can someone help me how to insert date in database? I try it already but it gives me error cannot convert to string! Any help is appreciated. Thank you in advance!

Member Avatar for rohand
0
139
Member Avatar for medopunsher

Hey everybody , I'am writing a very simple chat program (Client & Server) in C++ & QTNetwork libary. I Have a static cast problem that i don't understand , here is my code : PS.Lines with errors are commented : [CODE]#include "server.h" #include "ui_server.h" #include <QtNetwork/QTcpSocket> Server::Server(QWidget *parent) : QWidget(parent), …

Member Avatar for medopunsher
0
252
Member Avatar for mrstrong11

Hi, my name is Strong(such a cool name :]), and I am a high school student looking for career path to follow. I have found that computer engineering may be an fun and interesting career, so I have came up with a couple of interview questions, to learn more about …

Member Avatar for vegetablevn
0
172
Member Avatar for raju_boini525

hi all, i want to learn wordpress. where do i start. can anyone tell me the best wordpress tutorial. thanks,

Member Avatar for morkat
0
108

The End.