64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for katties

Hi I have this question about a loop that would create many numeric-value drop downs on a page. So far I have managed to populate with javascript only one per page. I am trying to make a loop that would take various id-s of the 'select' tags in html, and …

Member Avatar for katties
0
232
Member Avatar for a_lan

I have got very weird problem with a int variable. There is a code: #include <EEPROM.h> #define dht_dpin 14 byte bGlobalErr; byte dht_dat[4]; int a; void setup(){ pinMode(13, OUTPUT); a = 0; InitDHT(); Serial.begin(9600); delay(300); Serial.println("Humidity and temperature\n\n"); delay(700); } //end "setup()" void loop() { digitalWrite(13, HIGH); delay(300); digitalWrite(13, LOW); …

Member Avatar for a_lan
0
164
Member Avatar for daniel36

I am having the form <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="form.js"></script> </head> <? mysql_connect('localhost','root',''); mysql_select_db('test'); $query="SELECT * FROM user"; $result=mysql_query($query); ?> <div id="contact_form"> <form name="contact" action=""> <fieldset> <label for="txn_unit" id="txn_unit">Txn Unit</label> <SELECT name="name" id="name"> <OPTION value="">SELECT</OPTION> <? while($row=mysql_fetch_assoc($result)) { ?> <OPTION value="<? echo $row['id']; ?>"><? echo $row['first_name']; ?></OPTION> <? } …

Member Avatar for daniel36
0
135
Member Avatar for michaelzip

Hello I had a problem uploading or adding a file on the database and shows the error stated on the title. The column holding the binary data was set to varbinary(MAX). I couldn't find what was my error because I was able to upload a 900kb MS Word Document but …

Member Avatar for michaelzip
0
586
Member Avatar for erezz

Hi, I have a log file contain 28 lines, 1-I need to grep the line with the size next to that i need to grep the name from the line Example: Size element 1. 906K ykms2 2. 1.2M ykps1 2-if one or more of the lines are missing I need …

Member Avatar for erezz
0
211
Member Avatar for Divinedar

I am trying to reference a cell with a date from one worksheet to the other. I am using ='Statistics MVP'!A16 but it doesn't give me the date format it just gives me the number 41125 or any other number. When I format as a date form I get 1/0/1900 …

Member Avatar for Divinedar
0
109
Member Avatar for daniel36

Displaying date 1970-01-01 instead of desired date. my code is date('Y-m-d',$rtTransaction->getAddedOn()); the date returned by the function is in format '1353658977',Please help me. Thank you.

Member Avatar for daniel36
0
367
Member Avatar for anandschiru

how to implement, onclick on radio button datepicker has to appear otherwise it should be hidden.

Member Avatar for anandschiru
0
178
Member Avatar for GlenRogers

I'm not sure where to ask this, if this is the wrong place let me know. I have password protect a dir on my website(the admin dir) but when I put the user and password in it takes me into that dir. Is there anyway i can make it open …

Member Avatar for GlenRogers
0
96
Member Avatar for rajsharma_85

Hi, How can I set the the cursor initially in the text box whenever my application executes? Please help. Thanks

Member Avatar for Rahul47
0
5K
Member Avatar for techyworld

Hello, I have an html5 form, I want to validate it and when clicking on submit, it calls the function register. The way i done it below is not working. Can you please help me? I think i should do it with javascript but i dont know exactly. <!DOCTYPE html> …

Member Avatar for imran18
0
252
Member Avatar for GraficRegret

I am trying to adjust my upload code to handle multiple uploads at the same time, I have searched and found all kinds of code that says to wrap my current upload scrypt inside of it and just change my file system to an array but every time I do …

Member Avatar for GraficRegret
0
156
Member Avatar for GlenRogers

Hi, I have this login form <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Admin login</title> <link href="../css/submit.css" rel="stylesheet" type="text/css" /> <link href="../css/template.css" rel="stylesheet" type="text/css" /> <body> <img alt="full screen background image" src="../images/background.jpg" id="full-screen-background-image" /> <a href='../php/index.php'><span class="adminlinks">Home</span></a> <form class="form" action="login.php" method="post" enctype="multipart/form-data" name="login_form" id="login_form" style="margin-bottom:0px;"> <h1 style="margin-bottom: 0px">Admin Login</h1> …

Member Avatar for GlenRogers
0
788
Member Avatar for ThatBitchYeah

I have no idea hw to approach this... i need to end my program, shown below by the user pressing the letter Q on the keyboard. Help? #include <stdio.h> #include <stdlib.h> float subtract(float x, float y); int main (void) { float x, y; printf("Please enter a real number:\n"); scanf("%f", &x); …

Member Avatar for ThatBitchYeah
0
337
Member Avatar for daniel36

I am fetching data from mysql database and using it.but one column 'added_on's value is not fetching other row values of corresponding to 'added_on' value is previewing correctly.i am using it simply echo $vrow['added_on']; .

Member Avatar for AARTI SHRIVAS
0
172
Member Avatar for lukecalland

I need to program a way of storing and deleting multiple objects so that they stay around even after the program has been closed and that when you re-start the program you can search for an object? I'am using python 3.0 not 2.7. i.e. I create A class with different …

Member Avatar for vegaseat
0
167
Member Avatar for SyncMaster170

Heres my statement: SELECT A.AccountID, A.LastName, (SELECT SUM(InvCurrency) FROM B WHERE B.BillingPeriodStart Between '2012-01-01 00:00:00.000' AND '2012-12-31 23:59:59.000' AND A.AccountID = B.AccountID AND StatusID = 1 AND (ServiceCode=13 OR ServiceCode=14) AND (ServiceCode=15 OR ServiceCode=16) AND (ServiceCode=17 OR ServiceCode=18) AND (ServiceCode=19 OR ServiceCode=20) AND (ServiceCode=21 OR ServiceCode=26) ) AS 'Paid' FROM …

Member Avatar for BitBlt
0
215
Member Avatar for showman13

Good Morning, Hopefully someone can help me with a quick answer. I have a transaction table with a 'description' column that contains a combination of the members name and some static information i.e. "'username' PURCHASE" or "'username' PAYMENT" and a 'type' column that contains various types of transactions i.e. 'FEE' …

Member Avatar for showman13
0
96
Member Avatar for pritaeas

I just happened to come across "Laravel", a framework unknown to me. Has anybody used this one? If so, am looking for a comparison. Where does it fit in the range from small (TinyMVC) to large (Zend, Symfony).

Member Avatar for cereal
0
189
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Member Avatar for Dazza2
0
1K
Member Avatar for sciwizeh

Hello all, I have not tested the code I'm posting here to see if it compiles, but I have an issue in a large codebase and I believe that this should be the simplest program to demonstrate the issue; class base { public: shared_ptr<base> clone()=0; }; typedef shared_ptr<base> baseptr; class …

Member Avatar for sciwizeh
0
21K
Member Avatar for MasterHacker110

I know you are suppose to use GetPrivateProfileString(); But I dont know what the arguments for the commad is.

Member Avatar for Doogledude123
0
86
Member Avatar for GlenRogers

Hi could someone help me out with this code please? I have commented what it should do(or ewhat I want it to do!) if(isset($_POST['remove'])){ $chk = (array) $_POST['remove']; $p = implode(',',array_keys($chk)); $q = mysql_query("DELETE FROM image_gallery WHERE id IN ($p)"); $t = mysql_query("SELECT filename from image_gallery WHERE id IN ($p)"); …

Member Avatar for AARTI SHRIVAS
0
2K
Member Avatar for OsaMasw

Hello there I managed somehow to create and call categories and subcategories in DB my problem now how to design them as I want I want it something like this ![catss](/attachments/large/3/catss.jpg "catss") I used this code to retrieve the categories function display_children($parent) { $result = mysql_query('SELECT * FROM category '. …

Member Avatar for jkon
0
463
Member Avatar for teedoff

Hi, ok I have about 1600 records in a mySQL db. Many of them have a forward slash "/" in the itemName column. In my site, I am passing the itemName as a URL variable on many search forms, so obviously the forward slash is not a good naming convention …

Member Avatar for BASHA`
-1
142
Member Avatar for anestistsoukalis

I think that the problem is in lines 59-63 #include <stdio.h> #include "genlib.h" #include "ctype.h" #include "simpio.h" #include "string.h" typedef struct{ char name[30]; long sell; double supply; }domiT; void ypologismoi(domiT stx[],int *p,FILE *infile); void emfaniseis (domiT stx[],int *p,FILE *outfile); main() { int p; FILE *infile,*outfile; domiT stx[100]; ypologismoi(stx,&p,infile); emfaniseis(stx,&p,outfile); system("pause"); …

Member Avatar for tinstaafl
0
226
Member Avatar for AARTI SHRIVAS

i want to use bitcoin funcatinality i my website i search for it on google but not get any proper step of using bitcoin with php can any one have the url or somthing like that from i can understand hoe to use bitcoin in my website

Member Avatar for cereal
0
208
Member Avatar for hwoarang69

i have a form and inside i have one field and one button. when user hit submit button a php script runs. in php script i am checking error. ex name is too short etc.. now i want to add a red border only if there is a error. if …

Member Avatar for hwoarang69
0
180
Member Avatar for aryan200x

We have uploaded our cms to a dedicated server. we have two options for our users (user your own domain, use subdomain). when a user register him/her self and select subdomain and want to access his/her website so he cant access it with his/her subdomain name integrated with our domain …

Member Avatar for aryan200x
0
2K
Member Avatar for Octet

Hello DaniWeb, I personally work with SQL databases for web development work however I need to learn about Access databases for some upcoming AS Level exams. I asked my teacher, whether Access was vulnerable to Injection attacks and she looked at me with a quizical expression on her face so …

Member Avatar for Octet
1
265
Member Avatar for mumaga

public void paintItems() { ArrayList inRoomItems = ((Room) scenery.getCurrentRoom()).getItemsArray(); Point origin = new Point(380, 10); int layerNumber = 50; int numberHorizontally = 0; int n=inRoomItems.size(); for(int i=0; i<n; i++){ image = new JLabel(((Item) inRoomItems.get(i)).getImageIcon()); imagePane.add(image, new Integer(layerNumber)); image.setOpaque(false); image.setBounds(origin.x, origin.y, 100, 100); origin.y += 90; numberHorizontally++; if (numberHorizontally % 3 …

Member Avatar for mumaga
0
165
Member Avatar for james6754

Ok so I am writing an entry level CV. I have no previous experience in the computing industry although I have listed personal projects I have done for others etc... My question is, for the last five years or so I have worked in a factory, not related to computing, …

Member Avatar for mike_2000_17
0
92
Member Avatar for joshl_1995

Hello, I was wondering if there is a way to display formatting in a richtextbox eg. If i put **test** the word "test" would be i bold (only the word "test" and the rest would stay the normal). or if i put `test` the word "test" would be i size …

Member Avatar for Dani
0
461
Member Avatar for sanket044

hello, I am going to create a project which is having multiuser configration, So i decided to take vb.net as frontend and oracle as backend. So the database will be on server and all client willhave software installed. Questions are : 1. Do i need to install oracle in all …

Member Avatar for sanket044
0
249
Member Avatar for mumaga

I need to work on error handling and recovery for the World of Zuul. I was wondering where usually try catch exception should be used, which processes that need them? I know that I have to use them for opening and writing to a file,,,

Member Avatar for mumaga
0
171
Member Avatar for biscayne

My code has a couple of "multiple assigments" and somehow I think there should be a nicer way to do this in Python. This is how it currently looks like: # sum price fields paf = paf + float(pa) pbf = pbf + float(pb) pcf = pcf + float(pc) pdf …

Member Avatar for biscayne
0
251
Member Avatar for Mr.M

Hi I' haven't started this project yet so I'm just doing a research on how to modify a file on a server side via a client side. Just to enlighten what is my question. I want to create a server which will create: 1) the File (as a Directory) of …

Member Avatar for Begginnerdev
0
294
Member Avatar for JamesCherrill

Hello all. I'm currrently working on a GUI that needs to support dragging some application-specific objects from a selection area onto a work area (JPanel). It's currently working in a "click where to place the object, then click the Add button" mode, but that's not good enough. The obvious approach …

Member Avatar for JamesCherrill
2
1K
Member Avatar for joshl_1995

Helllo Community, I was wondering if there is a way to get all the second nodes from an xml file example: <?xml version="1.0" encoding="utf-8"?> <!--XML Comment--> <Main-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> <Second-Node> <Third-Node>Node</Third-Node> </Second-Node> </Main-Node> Please Help...

Member Avatar for Begginnerdev
0
191
Member Avatar for wolwayne

After playing for 5 or more times the total scores are going out or range (In the table generated at the end). I tried using long but didnt helped. #include<conio.h> #include<iostream> #include<stdlib.h> #include<string> #include<windows.h> #include<time.h> using namespace std; unsigned flag=0, ply_m,ply_t,ply_s,zz,i; //funct for gotoxy void gotoxy(int x, int y) { …

Member Avatar for wolwayne
0
123
Member Avatar for ImZick

Hello its me again... sorry to keep on posting about my problem well here it goes.. If you see in the attached file. ![Sum](/attachments/large/4/Sum.jpg "Sum") I have an AM Ervielette, Marriane etc. now i need to add their Total Calls for Ervie and Total Visits same goes to the other.. …

Member Avatar for ImZick
0
283
Member Avatar for monching

Hello My sample program has many buttons. I want my two button's `pausebtn` and `continuebtn` will perform click when a letter on the keyboard will be pressed, let say letter C or P. Private Sub pausebtn_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles pausebtn.KeyPress pausebtn.PerformClick() End Sub This are …

Member Avatar for monching
0
480
Member Avatar for neha05

Invalid address: Invalid address: SMTP -> ERROR: Failed to connect to server: Connection timed out (110) SMTP Error: Could not connect to SMTP host. Mailer Error: SMTP Error: Could not connect to SMTP host.

Member Avatar for neha05
0
218
Member Avatar for teckforce

I was wondering the best way to implement a square root button. Below has everything from 0-9, the four functions, and a decimal and clear function. Dim valueOne As Single Dim valueTwo As Single Dim operation As Integer Dim answer As Single Private Sub Button1_Click(ByVal sender As System.Object, ByVal e …

Member Avatar for teckforce
0
258
Member Avatar for rayidi

Dear All, I'm facing a problem when using DISTINCT in mysql. Please refer my database design below. id lang album singer title family writer song hits In my db i want distinct title and the id from the db. I'm trying the following code. But it only fetching the results …

Member Avatar for code739
0
242
Member Avatar for mark.scutt.7

Has anyone used a card reader with vb6 and can you recommend one to get? I want to issue cards with names for players so they clock in to start the poker game and during poker slide to clock out where the program will determine their position and any points …

Member Avatar for mark.scutt.7
0
113
Member Avatar for dheeraj.mangrah

Hi, Could anyone solve this for me. I'm using VB 2010 and Access Database file. The database consists of a table called 'usertbl' with 'username', 'type' and 'level' fields. The records are as follows: Record 1 - Username: admin Type: admin Level:1 Record 2 - Username: user1 Type: user Level:2 …

Member Avatar for dheeraj.mangrah
0
130
Member Avatar for Kewne

Hi...I need some help here... I need some suggestions and recommendations on J2ME simulators... I'm using NetBeans, BlueCove, Windows 7 I'm working on a project related to bluetooth programming... Thank you in advance....

Member Avatar for peter_budo
0
207
Member Avatar for WDrago

All, I am pulling my hair out with this. I need to make a constant String avaiable to all classes in my program and I can't figure out how to do it. This is a simple console app... I've tried the obvious, `public static const myString = "whatever";` but I …

Member Avatar for WDrago
0
106
Member Avatar for danarashad

I am having a problem installing CF 10. I keep getting an HTTP 500 Internal Server Error. Detailed Error Information **Module:** IsapiModule **Notification:** ExecuteRequestHandler **Handler ** cfmHandler **Error Code:** 0x80004005 ** Requested URL** http://127.0.0.1:80/CFIDE/administrator/index.cfm **Physical Path** C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\index.cfm **Logon Method** Anonymous **Logon User** Anonymous

Member Avatar for danarashad
0
673

The End.