199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bolfescu

hy im using to show this qry $qry = mysql_query("SELECT * ,replace(category, ',', ' ') as category FROM articles ORDER BY ID DESC LIMIT 1"); how can adapt to this qry? $qry=mysql_query("INSERT INTO category(category) VALUES('$cat,$cat3,$cat2')", $con);

Member Avatar for pritaeas
0
153
Member Avatar for ahmedsa

Hi guys when i search record between two dates it works ok success but you must enter date from and dateto first to to make search i will show what i need from this example I need to search dynamic by 4 textbox 1-datefrom 2-dateto 3-EmployeeNo 4-EmployeeName but search i …

Member Avatar for ChrisHunter
0
197
Member Avatar for SharkBait

New to VB.NET :( I have a MDI form that has a menu item that can change the environment the application is running in (e.g. Prod, Test, Dev, etc.). The environment name and folder are written to the statusbar on the MDI from. There are several other forms in the …

Member Avatar for niranga
0
290
Member Avatar for Yahia Farghaly

hi all, i have started recently learning c# and when i do some code using the hashtable, i could n't get the value of a particular key we can get a value for a particular key but do we can do the verse ?

Member Avatar for Lucaci Andrew
0
136
Member Avatar for Ritesh_4

Hello. I have the following existing function, used to load images in fancybox, but although the code works find in FF, in Chrome am getting an error (in the "firebug"-like tool), whereby under the "link.fancybox({..." code it shows "Uncaught TypeError: undefined is not a function". The error does not happen …

Member Avatar for Ritesh_4
0
738
Member Avatar for alex9620

Hi, I am trying to create a web service which will taken in JSON response and then query the DB with it to return store details (JSON response). I intend to use this with a mobile app later on. But during the development I am testing using AJAX calls. I …

Member Avatar for alex9620
0
330
Member Avatar for yulbas

Hi I am new in WCF and i am working on a desktop application in which i want to get data from my database on webserver where my domain is hosted. To connect to my database i must whitelist my ip, i want to get data from anywhere with any …

Member Avatar for yulbas
0
203
Member Avatar for andrew mendonca

For this programming exercise, you may use ONLY these instructions: and nor or ori sll srl xor Run the programs by verifying the value of the PC is 0x00400000 (right-click the field and use Change Register Contents to set it) and then single stepping (pushing F10) and observing the results …

0
134
Member Avatar for Amit_21

Hi, I am larning php and have got a simple task to be completed. But my brain is not working in coding the below requirement. This is the requirement. Create a form that contains: 1. Name, textbox 2. Submit button If the user inputs the Name textbox and clicks the …

Member Avatar for niranga
0
112
Member Avatar for ravi_14

the relation betwwen student and course entity is many to many.but it is not recommended .how can we convert it to two one to many relationships?

Member Avatar for hericles
0
144
Member Avatar for bolfescu

Hy i have two tables articles and iniziale, articles have a collum c2,and iniziale have c1 i whant to do like this c1(whic its have one value only)- sum(c2)(entire collum) ive tryied like this but nothing...:( <?php $result = mysql_query("SELECT *,SUM(iCarl)-SUM(CarrelliCC22) as total2 from articles,iniziale"); $row= mysql_fetch_assoc($result); echo "<h4>" . …

Member Avatar for bolfescu
0
196
Member Avatar for MasterChat

Good day to all! I'm totally lost here. I am just beginning programming lessons by reading How to Design Programs and use Dr. Racket. I bump into C++ and got confused which one should I learn first. Or should I study them at the same time. Please advise.

Member Avatar for MasterChat
0
222
Member Avatar for SimonIoa

Hello althouh i delete records from the database when i call them on a query they appear. Not the other records of the data just the id i have already deleted. I dont use WHERE because i want to return all records from table. Any guess why the id is …

Member Avatar for diafol
0
172
Member Avatar for joemalaya

Hello guys, I want to put youtube video bar in my website... and i already found the way to do it. Using google ajax search api. Google already provide the wizard to generate the code. [URL="http://www.google.com/uds/solutions/wizards/videobar.html"]http://www.google.com/uds/solutions/wizards/videobar.html [/URL] The problem is, by default it shows only 4 videos for horizontal view. …

Member Avatar for Mostarac
0
553
Member Avatar for Anitha14

I want to select a node based on an attribute value. I am using C# program to derive on the attribute value which is stored in a variable. The below code returns null. How can I compare the attribute value against a variable? string posSecond = "test"; SelectSingleNode("//viewentries/viewentry[@position=posSecond]"); Thanks!

Member Avatar for Anitha14
0
658
Member Avatar for furalise

Hi Everybody. Was hoping someone could clear this up for me. My understanding is not good in this area. The below code simply reads a string from a text file two characters at a time. It then outputs them to console then casts them to an int and then outputs …

Member Avatar for Moschops
0
228
Member Avatar for Thurston_1

I have written some SQL code which does not appear to work. Any pointers will be provided 1. Update Table 1 Column 1 with the value of Table 2 Column 1 2. Update Table 1 Column 2 with the value of Table 3 Column 1 3. Update must be based …

Member Avatar for AndrisP
0
208
Member Avatar for Webville312

Dear all, I have been working on this code and I included dynamically created rows. The rows are being created very well. However, when it gets to the submission part, the code is only suubmitting the first row ONLY. Can someone point me in the right direction please. Below is …

Member Avatar for diafol
0
253
Member Avatar for priy12345

Can anyone help me how to read the value from the checkbox to display it in a pdf.I am having a form with name,age,prefernce etc. I have a checkbox for preference. When user clicks on submit the entered or selected value as to display in a pdf.I have only problem …

Member Avatar for kaleemullah360
0
2K
Member Avatar for Mark Kim Bryan

(The power station problem) A power station is on one side of a river that is one-half mile wide, and a factory is eight miles downstream on the other side of the river (see Figure 7-21). It costs $7 per foot to run power lines over land and $9 per …

Member Avatar for Schol-R-LEA
0
361
Member Avatar for mattster

Hi There, This comes under a few forums on DaniWeb, so I've guessed and posted it here... I have two computers, both connected to the internet and running Windows 7 (Home Premium + Professional). One is my main one, the other is one I do not use. If I installed …

Member Avatar for mattster
0
348
Member Avatar for Zulu79

I am in the process of converting a program from vb 6 to VB.Net. I am taking a large amount of data and placing it in the proper sql collum. Any help will be greatly appreciated. I am getting this error code here: If ExistsInrsTemp("NextMthDue") = True Then If InStr(NullSafeValue(rsTemp, …

Member Avatar for Zulu79
0
211
Member Avatar for ADETUNJI_2

I need my running java application to be able to detect a web address that is typed into any browser's address bar. This is because I need it to make a decision depending on which website is typed into the bar. It would be best if I can rather get …

Member Avatar for Slavi
0
192
Member Avatar for timk5000

Hi I want to scan a large csv (3000+line)file and just count the number of lines that meat certain criteria. 18,08/24/14,05:02:00,5056 14,08/25/14,07:05:00,5046 18,08/24/14,05:02:00,5056 12,08/25/14,13:06:00,5076 18,08/24/14,05:02:00,5056 14,08/25/14,05:07:00,5054 For instance I may need to know the number of entries that have 18 as the first column and have a date of 8/24/14 …

Member Avatar for Reverend Jim
0
938
Member Avatar for circuit009

Hello, I wan to create a Browser Toolbar/ Extension / Plugin for Chrome/ Firefox/ Explorer. I want to place a toolbar on the default browser of the user. Basically when the user install my software(written in C#/Vb.net) i want a toolbar to get installed on the browser. This browser will …

Member Avatar for tinstaafl
0
321
Member Avatar for tanmaymisra

There is a project i am working on its a social networking between chilldren teacher and parents .I want to restrict typ of user to these three only.Do u guys have any idea how to initiate.

Member Avatar for stultuske
0
184
Member Avatar for Erick02

#include<stdio.h> #include<conio.h> void main() { int i,n,j; clrscr(); printf("\n Please Give The Value of N: "); scanf("%d",&n); for(i=n;i>=1;i--) { for(j=i;j>=1;j--) printf("%d ",j); printf("\n"); } getch(); system ("pause"); return 0; } `Inline Code Example Here`

Member Avatar for faultybits
0
440
Member Avatar for Jai_4

Write a program that reads n digit number. after reading the number, compute and display the sum of odd positioned digits,multiply all even positioned digits and add the two numbers. I have attempteed this problem like this a = input("Enter number") s = 0 p = 1 n = 1 …

Member Avatar for sneekula
0
802
Member Avatar for Samarth_1

Hello, I am a new to vb.net and daniweb I am working with an application (A Small game) in which on special days, there is a sale in the game market, which is with game money. For it, I Have a boolean data type in the settings (My.mysettings) named special. …

Member Avatar for Zulu79
0
434
Member Avatar for javed.iqbal.3979

Hi all, I have to clarify a few ambiguites regarding mysql client to use for i running database scripts 1).Firstly i want to flush the root password set by me earlier using :mysqladmin -u root password 'root password goes here'. 2).Second i am faced with a problem of "Acces denied …

Member Avatar for Borzoi
0
160
Member Avatar for erabxes

Hello! Please I would want to be able allow users select options from a list of selections as many times as possible using php, how do i achieve that? Below is a form for better description of what i desire to do <html><body> <form action="" method="post"> <p>You can enter your …

Member Avatar for erabxes
0
122
Member Avatar for SimonIoa

I want make an email script for users to be able to send me messages and i getting Mail delivery failed: returning message to sender this is the script <ul> <li><form name="mail" method="POST" action="send_mail.php"></li> <li>To:</li> <li><input type="text" name="to" /></li> <li>Message:</li> <li><input type="text" name="Message" /></li> <li>From:</li> <li><input type="text" name="from" /></li> <li>CC:</li> …

Member Avatar for SimonIoa
0
186
Member Avatar for yeyo_1

hi, is this forum functional, i will like to brush up my not too grounded ruby knowledge.....

Member Avatar for yeyo_1
0
379
Member Avatar for Muhammad_42

how to write a pseudo-code for telling someone how old they will be in 15 years to come

Member Avatar for mussdroid
0
105
Member Avatar for arsharma159

Hello guys, I'm working on a VB.Net Project. I'm using MS SQL Server as my backend. I can create Purchase/Sales Voucher forms and many more through the VB.Net Database EXpress. Say for example I have created a Purchase Voucher form where the user can enter the vendor info (in TextBox …

Member Avatar for Jhenzkieskipper
0
3K
Member Avatar for madcour11

I have one line of code that throws an exception, and when the catch(Exception ex) line executes, ex is NULL. Am I interpreting this correctly? If this is happening, does anyone have an idea of how this could occur? I am using a lot of Telerik RAD controls, could that …

Member Avatar for hericles
0
165
Member Avatar for Chem_1

Getting errors in my java program.Please retify my program errors,Explain the mistakes? class Cine { double t=70.00; String i="CINEPOLIS"; String j="HAPPY"; { public void worldCine(); { System.out.println("Ticket rate:" +t); } public void worldCine1(); { System.out.println("Theatre name:" +i); } public void worldCine2(); { System.out.println("Movie name:" +j); } } public static void …

Member Avatar for Chem_1
0
223
Member Avatar for aurelia.hodges

Alberta Einstein teaches a business class at Podunk University. To evaluate the students in this class, she has given three tests. It is now the end of the semester and Alberta would like to have a program that inputs each stu- dent’s test scores and outputs the average score for …

Member Avatar for chriswelborn
0
1K
Member Avatar for davy_yg

Hello, I am trying to record $remaining package to the database but it doesn't work. I wonder why? groupinfo_edit.php <?php // Check if session is not registered, redirect back to main page. // Put this code in first line of web page. session_start(); if(!isset($_SESSION['username'])) { header("location:index.php"); exit; } ?> <!DOCTYPE …

Member Avatar for noelthefish
0
145
Member Avatar for codewar

Yes, I am new to Java as you will see from my post. I have done most of the work therefore; I am not interested in someone to doing my work for me rather I am looking for a new set of eyes. My program is to keep track of …

Member Avatar for codewar
0
220
Member Avatar for codewar

Hello, team. When I run my program it is not allowing me to run this program. Looking to the professionals for some help. Tester import java.util.Scanner; public class ProductTester //the class ProductTester { public static void main( String[] args, Object getPrice) //the main statement { Scanner user_input = new Scanner( …

Member Avatar for codewar
0
227
Member Avatar for zaheerprince

i am making a database and i want to store data from dynamic fields. below i m submittig my form data to datapost.php page to proceed inserting there values but i have no any clear idea how it will success. i want to save this form in my database so …

Member Avatar for zaheerprince
0
749
Member Avatar for Eppy Azmi

Can Someone help me to solved my problem. How to count total of value base on dropdown? for example <label for="gender">Gender</label> <select name="gender" id="dr" > <option value="" selected="selected">Select Your Gender</option> <option value="M">Male</option> <option value="F">Female</option> </select> Than i want to know how many record in the database contains Male/Female. This Record …

Member Avatar for pritaeas
0
340
Member Avatar for klemme

Hi all, I am creating an ecommerce site, and have some javascript getting data from dom elements and inserting them into my PHP Cart via AJAX. It all works fine, but then i came to think of possible security issues with my approach. Button inserting data into the cart with …

Member Avatar for pritaeas
0
251
Member Avatar for ahmedsa

Hi guy when i run this Stored procedure it give me message error conversion faild when converting date time from charachter sting stored procedure as following Create proc searchData @StartDate datetime, @EndDate datetime as Declare @SQLQuery as nvarchar(2000) SET @SQLQuery ='SELECT * from Employee Where (1=1)' If (@StartDate is not …

Member Avatar for ChrisHunter
0
253
Member Avatar for mokshi

I have table as follows C Common Code 337080.00 15 Jan 2014 14 Jun 2017 Ananth Krishnan ee C Common Code 337080.00 15 Jan 2014 14 Jun 2017 Balaji Srinivasan ee C Common Code 337080.00 15 Jan 2014 14 Jun 2017 Deepa Venkitesh ee C Common Code 337080.00 15 Jan …

Member Avatar for pritaeas
0
140
Member Avatar for NewCoder_31

Hi, I am working on my project and your HELP guys is really appreciated. I have a STUDENT NUMBER textbox, and what I want is when the form is open, IT WILL AUTOMATICALLY ASSIGN student number so that the registrar will not bother anymore to encode the student number...Is this …

Member Avatar for Reverend Jim
0
180
Member Avatar for muhammad.husnain.5099
Member Avatar for joshl_1995

Hello Community, I'm making a new service called Gimme Support, currently my domain is [http://gimmesupport.co](http://gimmesupport.co). I need to renew it soon and I was debating on weather to change it to [http://gimme.support](http://gimme.support). Which would you say is better [http://gimmesupport.co](http://gimmesupport.co) or [http://gimme.support](http://gimme.support)? I'm still not sure which one I should go …

Member Avatar for joshl_1995
0
258
Member Avatar for DickEM

I've written a simple program in Visual Basic 6 pulling data from a database into a table. My program starts out with "Dim db as DataBase" and "Set rs as RecordSet" and then goes on to pull up the data. It runs fine on my computer. However, when I try …

Member Avatar for Aslam Mansoor
0
227

The End.