199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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% … | |
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 … | |
hi everyone I want to develop a web browser.....can anyone suggest me how to develop it in java ... | |
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. … | |
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 … | |
hi all,I want to learn assembly language.I know nothing about it.can anyone suggest me any book for begginers? thanx a lot | |
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 … | |
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 ? | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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); … | |
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 … | |
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 … | |
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.. | |
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 … | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
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? … | |
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 … | |
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 … | |
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 … ![]() | |
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 … | |
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! | |
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), … | |
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 … | |
hi all, i want to learn wordpress. where do i start. can anyone tell me the best wordpress tutorial. thanks, |
The End.