199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Madhukumars
Member Avatar for IconKana
0
203
Member Avatar for ashley.vanhoesen.7

Write the definition of a function named copy that reads all the strings remaining to be read in standard input and displays them, one on a line with no other spacing, onto standard output . void copy() { string x; if(cin >> x) { if(cin != '\n') { copy() } …

Member Avatar for NathanOliver
0
1K
Member Avatar for SkyCross

Hello... I just wanna ask why is that my edit is not working? I have 2 tables in my database, Personal data and Spouse. And I have each datagrids for both tables. My problem was that, when I inserted this in my code ***string queryString = "SELECT BlockNo, LotNo, Numberofoccupants, …

Member Avatar for kvprajapati
0
297
Member Avatar for Alex_20

I want to start game developing but I need help choosing what programming language to learn. I already tryed Lua,Java,C++ but not Rudy and Python... So here is my question, I need the pros and cons on Ruby and Python and your recommendation. I need something I feel comfortable with.

Member Avatar for jwenting
0
493
Member Avatar for CarterLangley

Hey guys, the code below is where I am having the problem. The error I am getting when trying to insert the record is *Could not enter data: Unknown column '3' in 'field list'* <?php session_start(); include("db_connect.php"); if(($_SESSION['user_id']) && ($_SESSION['access_level'] == 1 ) ) { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD …

Member Avatar for CarterLangley
0
197
Member Avatar for prem2

Hi team, Kindly, clarify the below query, i am confused the difference between in and like statements in the mysql. mysql> select count(id) as tablename from postings where is_active=1 and publish in (2) ; result -- 38 mysql> SELECT COUNT(*) FROM tablename WHERE is_active=1 and publish like '%2%'; result -- …

Member Avatar for diafol
0
364
Member Avatar for pravin81

We have 2 Tables, One is Primary Table and another one is a Transaction Table. Both Tables are identical. We have to insert or update the record in Primary Table, based on Transaction Table. If a record is found identical on primary keys for Primary and Transaction Table, we would …

Member Avatar for Hpsvtw
0
100
Member Avatar for asprin

Greetings people. I'm not new to this place. I've been visiting the forums frequently and have learned a lot of things just by observing the solutions of different people's problems. This is such a wonderful place to be. I thank the creators, staff members and the people who have been …

Member Avatar for WiredWill
0
3K
Member Avatar for dukumanis

<?php // Make a MySQL Connection mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("borrow") or die(mysql_error()); $TextBox1 = implode(', ', $_POST['Name']); $TextBox6 = implode(', ', $_POST['Startdate']); $TextBox7 = implode(', ', $_POST['Enddate']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox8 = implode(', ', $_POST['Item1']); $TextBox9 = implode(', ', $_POST['Item2']); $TextBox9 …

Member Avatar for diafol
0
441
Member Avatar for subrata_ushasi

Hi all, I installed wamp server as well as oracle in my computer where oracle 9i is opening but wamp server is not working . very urgent. Subrata

Member Avatar for rageesh.pk
0
248
Member Avatar for Shft

Hi, I just recently started a website with the hope of connecting a program I made with the licensing database that I've already created. I have all the usernames and passwords I need. on a side note, I'm using Visual FoxPro 9. But each time I try to connect I …

Member Avatar for pritaeas
0
114
Member Avatar for Zahra_1

![0930ac8855b75aa7c11605d2c389c3a5](/attachments/small/4/0930ac8855b75aa7c11605d2c389c3a5.PNG "align-left") here is the task, I don't want anyone to do the coding for me. I just would really love if I got a starting point on how to begin this code. thank you. oh and this is in python program.

Member Avatar for Zahra_1
0
224
Member Avatar for mavtcr

Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, the focus should go to the third textbox-'Name' else message "Record not found" should be displayed.I tried the following code …

Member Avatar for mavtcr
0
461
Member Avatar for Sujan Shrestha

i used this code to insert data into database but nothing happening.. <?php session_start(); if(isset($_POST['submit'])) { $dbhost="localhost"; $dbuser="root"; $dbpass=""; $tablename="requested_quotes"; $conn=mysql_connect($dbhost, $dbuser, $dbpass)or die("cannot connect"); mysql_select_db('1')or die("cannort select DB"); $fname=$_POST['fname']; $lname=$_POST['lname']; $sex=$_POST['sex']; $email=$_POST['email']; $phone=$_POST['phone']; $address1=$_POST['address1']; $address2=$_POST['address2']; $country=$_POST['country']; $city=$_POST['city']; $state=$_POST['zip']; $date=$_POST['date']; $contactme=$_POST['contactme']; $interest=$_POST['interest']; $sql="INSERT INTO $tablename(first_name, last_name, sex, email,phone, address1, address2,country, …

Member Avatar for Sujan Shrestha
0
3K
Member Avatar for amitesh11

I got error like syntaxt error in update statment strcmd="update emp set Name='"+txtname.Text+"',where id="+tsxid.Text cmd=new OledbCommand(strcmd,con); cmd.ExecuteNonquery();

Member Avatar for Jan-Willem
0
79
Member Avatar for mwnt2014

Want to change default theme and all looking . Set it for the School Website.. Suggestions please......

Member Avatar for diafol
0
90
Member Avatar for kal_crazy

Is it possible to change the value of a const variable? My aim is to change the directory of the Shell. I have set `const char* path = "C:\\"` as current directory. So if the user inputs "gd" then it will ask a directory to be set as the new …

Member Avatar for mike_2000_17
0
325
Member Avatar for Elharts

Hello, I'm currently writing a program that is supposed to add, subtract, divide, and multiply fractions. I've been tinkering with it all day and I just can't seem to get it to work correctly. Right now I'm getting a floating point exception and I have no idea where to begin …

Member Avatar for vmanes
0
497
Member Avatar for Xabush

I a software engineering student who took a Java course last semseter.But currenlty I'm self-studying Java for expanding my Java knowledge.The problem is that Java is a very vast programming language and I'm confused where to head next. I would say I'm on the intermediate level with regards to Java; …

Member Avatar for C-Money
0
234
Member Avatar for garyndeborah.kuhre

Trtying to figure out how to add 5 different methods into this class when the program already does all that is required but my prof will knock me if I dont put them in here, do thet need to be put in as private?

Member Avatar for C-Money
0
286
Member Avatar for Ancient Dragon

Anyone know where to BUY (not steal) this eBook? I don't want paperback because they are too difficult for me to read. I'd rather have eBook or PDF version so that I can change the font size to whatever I want. I've looked at Addison-Wesley web site but don't see …

Member Avatar for mike_2000_17
0
172
Member Avatar for firepower

i need good java eclipse tutorial iv'e watched theCherno,Thenewboston etc.i learned GUI,anonymousclass etc.i just need a good beginner tutorial on java eclipse.

Member Avatar for C-Money
0
218
Member Avatar for faysal.ishtiaq_1

Here is some javascript code ===> (function() { var infowindow; window.onload = function() { var options = { zoom: 3, center: new google.maps.LatLng(37.09, -95.71), mapTypeId: google.maps.MapTypeId.ROADMAP }; var i = 0; var marker; var btn = document.getElementById('btn'); var map = new google.maps.Map(document.getElementById('map'), options); var bounds = new google.maps.LatLngBounds(); var places …

0
109
Member Avatar for ZaneDarklace

Hello. I am working on this project and it asks me to make two columns of words that are ascending in one column and descending in the other. This is the Project: Call both your project and class AscendDescend. The first column should be in ascending order and the second …

Member Avatar for C-Money
0
238
Member Avatar for polpulpol
Member Avatar for C-Money
0
91
Member Avatar for Rahman_1

Hello Webmaster, i have some problem before upload images.... this my code <style> .thumb { height: 75px; border: 1px solid #000; margin: 10px 5px 0 0; } </style> <input type="file" id="files" name="files[]" multiple /> <output id="list"></output> <script> function handleFileSelect(evt) { var files = evt.target.files; // FileList object // Loop through …

Member Avatar for Rahman_1
0
224
Member Avatar for garyjohnson

I have a database which has multiple tables. I want all the table names to be displayed in a drop down html menu. I have a php function which I call on my html document. function namealbums() { $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …

Member Avatar for dukumanis
0
3K
Member Avatar for digital-ether

Searching the net I couldn't find a simple way of retrieving HTTP Request Headers and HTTP Request Body in a PHP Script. PECL extensions offer this but not a standard PHP install. So heres a simple class that will do it for you. Docs in my blog: [URL]http://fijiwebdesign.com/content/view/90/77/[/URL]

Member Avatar for veedeoo
0
11K
Member Avatar for macmic123

I have two identical fields table, say "tb1" and "tb2". "tb1" has records: 1 2 3 4 "tb2" has records: 1 4 5 6 Now how can I compare this two tables and insert differential from "tb1" into "tb2", so "tb2" will be: 1 2 3 4 5 6 Is …

Member Avatar for diafol
0
105
Member Avatar for frontier6444

I am trying to figure out how when a name typed in textbox1 on Form2 and a date is selected in the DateTimePicker box on Form2 that the name will show in textbox3 on Form1 when the date in MonthCalendar is pressed. I.E. Form2 opens and I enter the name …

Member Avatar for cgeier
0
341
Member Avatar for TheFearful

I was given a project to do, but I don't understand this notation and am rather confused, so I don't even know where to get started. I am supposed to be using the clock function to see how long it takes for the code below to finish running. Prefix Averages …

Member Avatar for Schol-R-LEA
0
321
Member Avatar for dado.d

This is my process.php which I use to post data on my page's wall PHP Code: include_once("config.php"); //HTTP POST request to PAGE_ID/feed with the publish_stream $post_url = '/'.$userPageId.'/feed'; //after login redirect him and if i can get message submit it to page if(isset($_GET["message"])) { $msg_body = array( 'message' => $_GET["message"], …

0
216
Member Avatar for mr.sweetchuck

Hi, I'm trying to use the replace() method to take out all instances of " " , (space) with an underscore, ("_"). I'm doing this because I'm using URLs to connect to a servlet. I keep getting this error: [code] replace(char,char) in java.lang.String cannot be applied to (java.lang.String,java.lang.String) url.replace(" ", …

Member Avatar for stultuske
0
6K
Member Avatar for sk8ergirl

hi, I want to connect my andriod application that I've just created to oracle database in another server.. what is the best way to do it I've looked for youtube video , but I didn't find anything helpful

Member Avatar for orochiwolf
0
123
Member Avatar for rasheedraj

Function Cant() Dim cnview As New ADODB.connection Dim rsview As New ADODB.Recordset Call connection(cnview, App.Path & "\Commissions.mdb", "endromida") Call Recordset(rsview, cnview, "SELECT * FROM Commi_Cus") 'If txtShaha = ("Commi_Cus" ,"Sha_no") Then 'txtCou = Sha_no + 1 ' End If End Function

Member Avatar for rasheedraj
0
252
Member Avatar for butterfingerss

Hello People! I am quite new to Qt (and programming in general). And I am making a program that requires me to encrypt a file and decrypt it after asking for a password through the program. But I have no Idea where to start. What I already have - A …

Member Avatar for sarahwilliams25
0
1K
Member Avatar for msolomon.ashish
Member Avatar for mukulnimker7751

Hi All, i am here with a problem in file handling in java. i need to search all the files on system with extention *.fdr. which are not less den one day old. then i need to convert the selected file to csv which is perfomed by a command in …

Member Avatar for JamesCherrill
0
369
Member Avatar for amna zafar

I am displaying the complete record of the user in the My profile section, I am fetching all the rows , but the problem is within the rows I've got two fields as arrays, which are 'secondarySubject' and 'secondaryGrade' now I want the display to be something like this 2002-2004 …

Member Avatar for diafol
0
357
Member Avatar for dipakbarman
Member Avatar for Michal_3

I have some code and i want to go back into a certain line however i am not sure how i can achive such things. #SnakeFactBook v.1 #Here is the begining of the book print("Hello.\nWelcome to the Bush Viper Fact Book.") #Ask for name name = input("What is your name?") …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for network18

Hello, I am trying to configure PHP 5.3 on already installed Apache 2.0 on windows machine, using the guidelines mentioned on - http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml So far I have done - LoadModule php5_module "C:/PHP/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/PHP" All these at the right spots in httpd.conf file. I have apache in …

Member Avatar for network18
0
524
Member Avatar for network18

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML …

Member Avatar for network18
0
2K
Member Avatar for jackjuma12

Hi guys Can anybody tell me what is wrong with this code? When I select the contractor number (with only one script code)it loads the details, but when I add the second function to load the farmer details, non now works!!!!! What am I doing wrong code <%@ page import="java.sql.*" …

0
111
Member Avatar for london-G

Hello, I would like to have a slider that shows images(this I can do) however when the user clicks on one of the images, it will display the products displayed in this particular image. I was thinking of creating new pages/file for each but do you guys have something better …

Member Avatar for london-G
0
76
Member Avatar for oriola-1

hey guys Am new to dis site(Daniweb) also a baby to php but am trying to develop a simple hopping cart in php bt its look too difficult, most of the code am geting on google is too complicated for me.. can anyone help me a simple and easy code …

Member Avatar for oriola-1
0
337
Member Avatar for amanu092

I want to develop a voip billing system in php and mysql. Do you gays able to help me by giving me some tutorial links.Or some technical suggestion as how to start and how can I do it final.Thanks all in advance for reading my query and trying to help …

Member Avatar for williamwalker
0
313
Member Avatar for nevil120

I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that?

Member Avatar for orochiwolf
0
145
Member Avatar for joseph.lyons.754

I want to pull the image name from the database and insert it to the folder directory path using php. I am wondering is this possible and if so how? Ive attempted it a few different ways but i can't figure it out? while($row = mysql_fetch_array($result)) { echo "<tr>"; This …

Member Avatar for joseph.lyons.754
0
131
Member Avatar for jboonpradab

Hi, I'm trying to display the first name of the username using session after they entered username and password. I'm not sure what went wrong with my code. Any suggestion? Thank you. <?php //connection string $con = mysql_connect('127.0.0.1','root')or die(mysql_error()); //select the database mysql_select_db('local',$con) or die("Unable to connnect!"); //mySQL query $sql1 …

Member Avatar for diafol
0
119

The End.