199,114 Archived Topics
Remove Filter ![]() | |
Hello everyone! I am a student and still a noob in PHP. Well, I'm trying to figure out what is the best method for a log in page system that provide the ability for an Administrator to log in using the same log in form for normal users but get … | |
Hello, I have 2 datatable, first table for customers personal information and second table for customers areas of interest. this two tables have same ID for same customers. So, when i want to check my some group of customers(like who intrests on sports stuffs) i need filter my first table … | |
How does one validate username and password from sql database? I have used parameters in doing validating my database, but have noticed that username and passwords are being accepted when i type it straight out(EG. username= e001 , password=dave@road) , even though they have characters in capital letters(such as username=E001 … | |
Just a short question Can you help me please? thank you so much :) **What is printed by the following C++ code? cout << "'\\\"'";** | |
Does anyone have actual experience with pypdf with version 3.x python ? Maybe I am confused, but looked like only a 2.x version is available. thanks | |
I was thinking about making a TSR program in C++. I did some googling but found that most of them are using "dos.h" headers. This is obsolete and its use is frowned upon. So how can I make a simple TSR program in C++ ? | |
Does anyone have a example of a Purchase order form that allows multiple line items and pricing Thanks Charlie Crimmel [email]crimmelcp@suddenlink.net[/email] | |
![]() | When it gets to cout << "Chose direction of rotor 1:" << endl; cout << "*(i.e.:enter 1 for left and 2 for right)" << endl; and i enter 1 or 2 it couts "Wrong choice" #include <iostream> #include <string> #include <cmath> using namespace std; //global varibals: char alphabet_of_rotor1[26]; char alphabet_of_rotor2[26]; … |
if (__comp(__a, __b)) this is the error referred to the file above. basically, it's just about this question : 5-6. Rewrite the extract_fails function from §5.1.1/77 so that instead of erasing each failing student from the input vector v, it copies the records for the passing students to the beginning … | |
i want to know why the runtime error is coming in this code????? #include<stdio.h> #include<conio.h> #include<string.h> int main() { char *a,*b; scanf("%s",a); printf("%s",a); return 0; } there was no error when a declared first pointer i.e. a but as soon as i declared the 2nd pointer(b) i am getting a … | |
can someone give me an idea how I limit the decimals in the output of this code: /** * @(#)Text1.java * * * @author Bryan Mark * @version 1.00 2012/8/4 */ import java.io.*; public class Converter { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); … | |
Hi there, why does the sort function not sort out numeric values depending on their values(large to small or small to large)? var drinks1 = [40,30,10,20,100]; println(drinks1.sort()); // this will give you 10, 100, 20, 30, 40 it sorts those values as follows: 10,100,20,30,40 Is there a way of changing … | |
can someone please help me with this java application that will display the output below: "Enter Middle Name: Gosling" "You Middle Initial is: G" and also java program that will let the user to enter value for fahrenheit & convert it to celsius. can someone give me codes for this.. … | |
hello, i was wondering if you could tell me what would you diffent/better on the following code. I am trying to become a better developer and i would like to learn what the best PHP pratice is. I remove the comments to make it a bit cleaner //THIS IS THE … | |
I am working on a program that updates a Database via ASP.NET (C#) using Microsoft Access and OleDb and have the following problem when loading my web form in FireFox: *"The INSERT INTO statement contains the following unknown field name: 'txtCustomerID'. Make sure you have typed the name correctly, and … | |
Hi, if I'm building a website for mobile the only thing that differs from desktop website is the size of the screen ? or there's additional things i have to change to be able to browse my site on mobiles ? | |
hi everyone, I wonder which is better :to start learning a new programming language or develop my skills in the C++ language ? As I started learning C++ since 7 months :) thanks ina advance for all :) | |
how we give executable file security using java | |
Hi, I've never used php or mysql but I need to I madee a site for a friends reptile pet shop. Now I need to make him an admin panel so he can update his availablity section his special offers section and most importantly he can add pictures to his … | |
Can you please help me with this question. I do not understand. :( thank you so much. **If a, b, and c are integer variables, some of these expressions are valid C++ and others are not. For each expression, add parentheses to indicate the precedence and associative rules, and hence … | |
My application won't run anymore in my tablet and I don't know why. It runs fine in the emulator. public class TestingActivity extends Activity implements OnClickListener { /** Called when the activity is first created. */ String uname, pass, pic; EditText txtUname, txtPass; Button login; TextView result, tview2, tview3; String … | |
Can I transfer some data, which the user enters into a pop up window, to the page which called the pop-up window ? The Main page is in a frame. When the user clicks a button on the main page, a pop-up opens showing some choices. After the user selects … | |
Hello guys, I'm new to this forum and I'm a biginner in VBnet language. I'm using VB express 2008. I'm trying to create a PC version of the famous game "Ticket To Ride" using VBnet language. I uploaded the map as a background image. I thought about creating pictureboxes,rotating them … | |
i have a datagrid which contains a CheckBox colum. now i want to pass values (just 1 column) from datagrid to listview based on which cell is checked.  Picture shows that, once the cell is un-checked value disapears on listview.column 1. Thanks daniweb in advance | |
mtxtBdate.Value = dataGridView1.SelectedRows[0].Cells["Birthdate"].Value.ToString(); i want this on data Grid view.. this type of syntax use in all other textboxs.. but now how to use this datepicker control syntax.. this sytax is wrong plzz tell me write meas any date that user select on the datetimepicker is show on the datagrid.. … | |
i made the form of search of my project as in screen shot in vb.net the problem is that it shows the record many time of one person i put the sql query this qury = "SELECT p.per_id AS 'Person ID', " & _ "p.per_name AS 'Name', " & _ … | |
> please help me check this sql statement. it is giving me this error "No value given for one or more required parameters. " cn.Open() Dim cmd As New OleDb.OleDbCommand cmd.Connection = cn cmd.CommandType = CommandType.Text cmd.CommandText = "Update HallTransaction Set status=? where ID=?" cmd.Parameters.Add("@statu", OleDb.OleDbType.VarChar).Value = check cmd.Parameters.Add("@Custid", OleDb.OleDbType.VarChar).Value … | |
I have nearly finished teach yourself java in 21 days. What should I do now to get good at programming, especially java but other languages would be nice. BTW, java is my first programming language. | |
i have a input file having words "Olympics,Olympics,Olympics" when i try to count them and use function readlines() it count them as 1 rather than 3 !! what should i do !! this is my code def input_files(file): sum=0 #word=raw_input('enter the word you want to search\n') file=file.readlines() for lines in … | |
Hello, The below code is mean to hit or show some data based on checkbox is checked off or not using Javascript. I found a bit of code on a Forum and tried modifying it. I'm trying to see if it's possible show data based on multiple Div Tags. For … | |
Having a little trouble getting my "pre-loader" to show properly... I would assume, what this script would do is that once xmlhttp is invoked, JS would make a div with an ID called 'preload' and it will persist until we get a 400 response from the server, and then destroy … | |
i need help to Implement Hirshberg’s Space Efficient | |
Hie all, I'm developing a bulk sms website, there are users and resellers for the site. I want to map my to another ip through A record. Problem is how to identify the ip user / reseller ? Please help me. | |
Hi Every Body I have been working on a project Where user has to login and edit contents of his web The thing happening is every page is working fine and there is no error except only in one page & which is freaking me out.....when i hit submit button … | |
Hello DaniWeb, I have been working on a Maintenance Application. My company builds a specific type of system using specfic types of components. What I need to be able to do is keep track of which component is in which system given a certain event. ComponentType Table: Ident, Type ( … | |
Using VB.NET 2010 All helps is greatly appreciated! Currently I am parsing through 1,000s of text files each day and inserting them into SQL. I am unsure how to break up the actual pipe delimited data and insert it properly into my database columns so I am doing that through … | |
I am having a weird problem with this code. I keep getting this error. "NullReferenceException was unhandled." Then this part of the code is highlighted. "i < settings.Dirs.Length" There are several forms but this is the one I find the problem. namespace MemoryGame { /// <summary> /// Main form for … | |
Hi Friends, Can anyone one have an idea about how we make cron in php. I mean i have to records of 6000 email id and we have to send mail them randomly selected email templates with in 48 hour. Once student got the mail from then from the database … | |
So i have this table: numb_1 | numb_2 | numb_3 ------------------------ 5 | 5 | 5 1 | 5 | 5 2 | 2 | 3 5 | 3 | 6 5 | 4 | 7 how do i find the most common value in the 3 fields? so for … | |
Hello Daniweb Users! I'm taking a Programming Logic course next semester, and I'm curious as to what kind of topics we'll be covering. The course will be using the BASIC programming language for its examples and evercises, which I've never worked with. I'm fairly new to programming, but I've done … | |
I'm working on some simple socket programming. But I'm not on the most effective way to search for strings once I've assigned buff = skt.recv(some_length). On the client I'm writing currently, I am expecting ASCII strings, like 'mem_usage' 'ip_config' etc. Thanks. | |
Hi Please could you assist I have made a validaion. But when the correct field is not entered properly. Validation works but the javascript pop does show please see code below. <CFIF email IS (find("@",address)) neq 1> <CFLOCATION URL="error.cfm?PassedError=Please%20Supply us email address."> <CFABORT> <script type="text/javascript"> alert('Please Check Your Email'); </script> … | |
Hi there, here i post new article because need to improve my upload function. What i want is to make my selecting item for uploading file to be multiple select, only by pressing "ctrl" button, like yahoo mail does. Here I create a code for upload file but the problem … | |
Hello. I'm trying to make a simple language in Python. I have many functions, that handle arguments, and execute the commands. Although, the old way I was actually CALLING these functions was to have a dictionary of all the keywords to functions, and then get() it. Is these an easier … | |
Hey everybody.I am going into the second year of a Computer Science degree that I am paying for out of pocket, so can only attend part-time. I have taken a Javascript class, basic web development (HTML, CSS, JS), and will take Visual Basic and a hardware class in the fall. … | |
Given a 7x4 array generate four random numbers from the array with no repetition. I can already generate four random numbers the problem is the repetition part. Here's my code so far int f[4]; int s[4]; for( i = 0; i < 4; i++) { // use as index for … | |
Hi All I am getting an warning on my web page when I uploaded the page on server I just writing a PHP PAge Hit Counter- Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/cbsecpsn/public_html/csnip/form_453570.php:7) in /home/cbsecpsn/public_html/csnip/counter.php on line 2 Warning: session_start() [function.session-start]: … | |
How can I get the path that the file is in? For example, my script is running in ~/Desktop/Projects/Shell but it doesn't know that. How can I get it to know that? Like DIR = DIR_IM_IN? | |
can any body give me the correct syntax of for loop to be used in vi editor in ubuntu..... i know like this....:- for (( initialisation;condition;increment )) do "statements for do" done |
The End.