199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dottomm

Hello and thank you in advance for any help that can be provided. I am fairly new to PDO and am starting my first development project using PDO. I am tryin to insert three form field values into a database. However one form field is an array. The insert will …

Member Avatar for cereal
0
725
Member Avatar for jigglymig

The goal of this project is to create a dll that will take in employee and employer information then return W2(s) in pdf form. Then the main program will cycle through them and email/print. Currently, the program is adding the SSN and the edited pdf to a dictionary and returning …

Member Avatar for jigglymig
0
283
Member Avatar for UI

Associative Array <html> <body> <?php /* First method to associate create array. */ [b] $salaries = array("mohammad" => 2000, "qadir" => 1000, "zara" => 500);[/b] echo "Salary of mohammad is ". $salaries['mohammad'] . "<br />"; echo "Salary of qadir is ". $salaries['qadir']. "<br />"; echo "Salary of zara is ". …

Member Avatar for AndrisP
0
409
Member Avatar for Eric_8

Hi, I am fairly new to Python. I am familiar with the concept to pass data accross functions. In theory, def c(): r = raw_input("Ask Something? ") .. return r def p(x): ... do something r = c() p(r) The code below works just fine via Terminal ( python filename.py …

Programming python regex
Member Avatar for Eric_8
0
331
Member Avatar for peace_coder

Hi, I have a little problem related to WordPress, look at screenshot first: [Here](https://i.stack.imgur.com/DeP8e.jpg)! On the main page I just want to edit that link and also its title from Business Business News to Business news. As you can see in Image I marked it with red arrow. I am …

Member Avatar for diafol
0
399
Member Avatar for peace_coder

I got a file, the order was to edit few things in website. When I unziped it I found only XML files. There was no single HTML file. Here you can see [Image](https://ibb.co/mNknqv.). Task was simple to edit few links in website. But these are all in XML. When I …

Member Avatar for rproffitt
0
175
Member Avatar for Mr.M

Hi DW. Anyone know what/which type of WndProc Windows Message is raised when someone is burning a CD? What I mean here is that if I'm using a software like Nero which is a well known CD burning software. My question is that what type of WndProc Message this software …

Member Avatar for xrjf
0
475
Member Avatar for anmol.raghuvanshi1

In my registration page i want user to select multiple images and upload it i am saving images name in database for reference. I am successful in uploading single images in database and can also show image in view but now i have problem in uploading multiple images. <?php if …

Member Avatar for Rizvan_1
0
7K
Member Avatar for JamesCherrill

Hi all you php buffs. Out of simple curiosity I thought I would take a look at php. I've been programing since I joined IBM as a trainee developer in 1969, so I have some familiarity with programming in (eg) 360 assembler, APL. PL/I, ... , Smalltalk, Java, Swift. (I …

Programming gui mac-hardware php
Member Avatar for JamesCherrill
0
465
Member Avatar for vijaysoft1

i want to post some data to my web , i am entering data to a textarea in my page and pressing submit and it will inserted in to my database the data i typed is follows 1)Adobe Dreamweaver 2)Microsoft but When i tried to display that it is showing …

Member Avatar for diafol
0
8K
Member Avatar for Alv45525

Hi guys, i have a login page where i created a session trainer after login. the session is the mail address of the trainer. now from another apsx page, i would like to retrieve the staffid of the user logged in using the session as criteria. I tried to write …

Member Avatar for xrjf
0
323
Member Avatar for thinkerman

Hello. I'm having trouble with creating a program based on Prim's algorithm. This is the program and got the following error: #include<iostream> #include<stdio.h> #include<conio.h> using namespace std; int weight[20][20],visited[20],d[20],p[20]; int v,e; void creategraph() { int i,j,a,b,w; cout<<"\nEnter number of vertices"; cin>>v; cout<<"\nEnter number of edges"; cin>>e; for(i=1;i<=v;i++) for(j=1;j<=v;j++) weight[i][j]=0; for(i=1;i<=v;i++) …

Member Avatar for Aiman_1
0
1K
Member Avatar for SimonIoa

Hello i want to create a horizontal menu divided equally in 4 same width parts. I don't want its width to change. Any ideas? Something like this https://jsfiddle.net/simonioa/t6vqqva2/ but not with <span> elements. Menu should have 4 colors horizontally but would not have to change acoording to html content. I …

Member Avatar for SimonIoa
0
289
Member Avatar for azeez_2

Write a program, which will imitate an ATM machine. The program will ask for a password. Assume that only password 123456 is accepted. If the password is correct, display the following menu Menu ATAM Bank ABC 1. View Balance 2. Deposit 3. Withdraw 4. Transfer Fund Your choice : _______ …

Member Avatar for thines01
0
619
Member Avatar for zurena

hai. anyone can help me ? I run my coding but it be invalid option even I already declare my coding. Can I know which part I wrong ? #include <iostream> #include <string> using namespace std; void printintromenu(); void login(); void mainmenu(); int main () { cout << "Welcome To …

Programming c++
Member Avatar for thines01
0
771
Member Avatar for VIPER5646

Hi I have a datagridview with 9 Processes each process holds dates for stating and compleating a job. When a process is Late a cell back color is set to yellow, when today is the day the same date on the cell the date gets bolded,if the date is altered …

Member Avatar for VIPER5646
0
427
Member Avatar for UI

Fellow Php Buds, Do you mind telling me, according to you: 1. How many variables are listed below ? And, 2. How many numerically Indexed Arrays ? $employee_array[0] = "Bob"; $employee_array[1] = "Sally"; $employee_array[2] = "Charlie"; $employee_array[3] = "Clare"; Thank You

Member Avatar for JamesCherrill
0
215
Member Avatar for saladin_1
Member Avatar for Adm666

why when i print the list it always misses the 1st line of input ? here's my code: #include<stdlib.h> #include<stdio.h> struct list { char data; struct list * next; }; typedef struct list item; int main() { item * curr, * head; char c; head = NULL; while((c=getchar())!=EOF) { curr …

Programming c linked-list
Member Avatar for Adm666
0
181
Member Avatar for patk570

I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is only 1 Message in the Database, the number is 70. I have seen multiple things online but I am not …

Member Avatar for patk570
0
8K
Member Avatar for seularts

please help me cause I am totally lost on this one. I am trying to fetch the results from a database that has the data inserted in a weird way. The IDs are not unique, thus I have multiple values with the same ID in the ID column. I am …

Member Avatar for jkon
0
2K
Member Avatar for JModak

Hello Only one time count the msg ok result. but after that when I type wrong username and password coding not work. please help me ......... Try Dim erorcunt As Integer erorcunt = 0 Dim myConnection As OleDbConnection myConnection = New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\DB.accdb;Persist Security Info=False;") Dim myCommand As OleDbCommand myCommand …

Member Avatar for JModak
0
288
Member Avatar for Ater Mawut

I have created a black jack app and have got it show both cards but I only want it to show the second card in the hand and keep the first one hidden until its time to show. Here is the code package blackjack; import java.util.Scanner; /* This program is …

Member Avatar for JamesCherrill
0
232
Member Avatar for Miguel_7

#include<stdio.h> #include <iostream> #include <string> using namespace std; int main() printf("Password: \n"); if (scanf_s("Hello")); printf("Good Job \n"); string Migas; cin >> Migas; else (scanf_s("Hello")); printf("Wrong!"); return 0; // Help please I don't know what to do! I've been trying to learn C language and I can't find the probrem here! …

Member Avatar for tinstaafl
0
158
Member Avatar for kashif_4
Member Avatar for SimonIoa

Hello, i use a script that allows a user to take a photo. I use a Shockwave Flash Object (.swf) to open the camera and i don't want to do this. How can i do it by callin' the browser prompt that ask you to open the camera? This is …

Member Avatar for gentlemedia
0
1K
Member Avatar for shivya_1

I am new here... I am facing a problem in inserting data into database through php. "Connection is established properly." Error is:-error in your sql syntax, correct your query. $firstName = $_POST['firstName']; $lastname = $_POST['lastname']; $contact =$_POST['contact']; $sex = $_POST['gender']; $dob = $_POST['dob']; $email = $_POST['email']; $country = $_POST['country']; $expr …

Member Avatar for inthewind
0
406
Member Avatar for t_thakar

Hi not sure if this is possible so wanted some guidance.. I have a database with 3 columns.. id, data,timestamp id is auto increment and data is json array and timestamp is unix timestamp.. the field I wanted to update was data but I wanted to replace just a part …

Member Avatar for cereal
0
280
Member Avatar for andreas.petrou.967

Hello, any body. How to check the handler socket is dissconcted? if try this if (handler.Dissconcted) but not accepted from c#.

Member Avatar for andreas.petrou.967
0
105
Member Avatar for John_162

Hi I Have an App that connects to an 2010 access DB (.accdb) using OELDB Driver. In my dev pc the application works fine. I also tried installing it on different pc and it worked fine using a access database runtime. Now when Installing it on a pc running access …

Member Avatar for John_162
0
285
Member Avatar for wilsonchama

Hi guys, I have a listview that displays "product Description" in the first column and "Product Price" in another column, after the "add" button is clicked on frmSales form. After that, txtAmountDue is automatically updated with the value of the items added to the listview. The Remove Button, when clicked, …

Member Avatar for Duane_2
0
2K
Member Avatar for Jimmy_8

I am trying to auto submit this form when the page loads, and I have tried many different scripts, but none seem to work. Could someone help? <html> <head> <title>Untitled 1</title> </head> <body> <form action="http://www.websiteurl.com/index.php" method="post" name="sendform"> <input type="hidden" name="ID" value="89734957838732498723"><input type="submit" name="submit" value="Submit"></form> </body> </html>

Member Avatar for AndrisP
0
495
Member Avatar for davy_yg

How to create a website by pressing a button? With one button "create a website" while the user press that button it will create another website which is exactly the same like the first one. The only difference is that it will allow the user to select any name as …

Member Avatar for AssertNull
0
348
Member Avatar for davy_yg

Hello, I would like to know if posting article location can be automatic like android - facebook posting article. Like the computer would know where the location of posting would be? Is that possible? Thanks in advance.

Member Avatar for davy_yg
0
144
Member Avatar for JohnMcPherson

Hello, this is John McPherson, writing code for the U.S. Department of Labor. I am working on developing a new Benefit Finanacila Model for the state of Oregon, and I am having a problem with the printing of large numbers that are converted to strings. It works most of the …

Member Avatar for AssertNull
0
489
Member Avatar for Jesse_11

I need to make a timer for pygame to sit in the top left of the screen, but have no idea how. I want it to count down from 30secs to 0. please help cause I have no idea.

Member Avatar for DeanMSands3
0
513
Member Avatar for Nantha_1

hi i am a beginner with c++. i have a csv file. i want to read particular set of values from a particular column. how can i do it. if possible kindly help me with some sample codes. thanks in advance

Member Avatar for DeanMSands3
0
2K
Member Avatar for Websurfer_1

Title : Paypal's MPL library error on iPhone and Android Detail: We are usign Paypal's MPL library in our application and sometimes it keeps giving us an error "System unavilable please try again later". We tried to contact paypal for this issue but they are just keep saying that everything …

Member Avatar for rproffitt
0
322
Member Avatar for Yohanes_1
Member Avatar for Bijendra_1

<html> <body> <?php /* First method to create array. */ $numbers = array( 1, 2, 3, 4, 5); foreach( $numbers as $value ) { echo "Value is $value <br />"; } /* Second method to create array. */ $numbers[0] = "one"; $numbers[1] = "two"; $numbers[2] = "three"; $numbers[3] = "four"; …

Member Avatar for rubberman
0
154
Member Avatar for Latrell_vie

Hi ! I want to edit a wordpress theme and add an image to the header.php ( line 74 <a href="http://www.yourlinkhere.com"><img src="images/AJTFixPreisBanner.jpg"></a>) but i only get the image broken down sign when when i go online. Is it because i do not insert the picture with a php function ? …

Member Avatar for rubberman
0
509
Member Avatar for archie.herbias

I want to have a forum in my website project in school. i don't have any idea. may anyone help me suggesting some examples. it is like daniweb forums. i want to save the topics in the database and retrieve it as a link. i dont know how to do …

Member Avatar for angela_8
0
2K
Member Avatar for Start4me

I'm trying to replicate the ray-looking design, just like in the first image. Here's my code: When the user clicks on the button: private class drawInnerShape implements ActionListener{ public void actionPerformed( ActionEvent e){ paintInnerDesign = true; repaint(); } } The following code executes: class DrawArtwork extends JPanel { @Override public …

Member Avatar for JamesCherrill
0
284
Member Avatar for rpv_sen

Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i …

Member Avatar for Lucifer_1
0
3K
Member Avatar for secrect

i get this error when i try executing it, no match for the operator == now i understand you can't compare a string with a char, so i tried other method like strcmp, covert a to char, but none worked. note: coverting d to string is not an option. #include …

Member Avatar for AssertNull
0
403
Member Avatar for david_105

i think this site is broken cause 1 spent half an hour trying to post code one of the reason why i left stack over flow

Member Avatar for diafol
0
130
Member Avatar for Stefce

Hello, is there any way of accessing mobile camera through my website? I want to open mobile camera through my website and take a picture and upload to server. Something similar to viber, when you install the app in your desktop they ask you to scan the QR code to …

Member Avatar for rproffitt
0
7K
Member Avatar for Mudzy

im stuck on a question from the book, java in 2 semesters chapter 7. 2a) write a program that asks the user to input a string, followed by a single character, and then tests whether the string starts with that character. [CODE]public class StringTest { public static void main(String[] args) …

Member Avatar for JamesCherrill
0
16K
Member Avatar for Nether_1

I'm attempting to write a code in which the user can add as many of a certain object as needed, and blit it on to a pygame window. Essentially a game engine of sorts. I need to make it so that they can add as many of these objects as …

Member Avatar for Gribouillis
0
566
Member Avatar for Alv45525

Hello , i kinda need some help here. The below code is to check if a category already exists before adding it to the table category. If ever i insert a category that already exists, if gives me the message that it already exists. The thing is that if it …

Member Avatar for Alv45525
0
456

The End.