199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for aianne

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 …

Member Avatar for DarkMonarch
0
199
Member Avatar for Oneryavuz

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 …

Member Avatar for Oneryavuz
0
145
Member Avatar for darthswift00

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 …

Member Avatar for darthswift00
0
863
Member Avatar for love_you_4rever

Just a short question Can you help me please? thank you so much :) **What is printed by the following C++ code? cout << "'\\\"'";**

Member Avatar for WaltP
0
83
Member Avatar for rwe0

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

Member Avatar for rwe0
0
201
Member Avatar for np complete

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++ ?

Member Avatar for deceptikon
0
732
Member Avatar for crimmelcp

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]

Member Avatar for aw88750
0
1K
Member Avatar for nida.lodhi.7
Member Avatar for 111100/11000

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]; …

Member Avatar for Schol-R-LEA
0
120
Member Avatar for Vasthor

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 …

Member Avatar for Vasthor
0
273
Member Avatar for devender22

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 …

Member Avatar for Ancient Dragon
0
122
Member Avatar for aabbccbryanmark

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)); …

Member Avatar for aabbccbryanmark
0
142
Member Avatar for rotten69

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 …

Member Avatar for pritaeas
0
277
Member Avatar for aabbccbryanmark

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.. …

Member Avatar for aabbccbryanmark
0
162
Member Avatar for extjac

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 …

Member Avatar for pritaeas
0
404
Member Avatar for ROSS679

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 …

Member Avatar for ROSS679
0
138
Member Avatar for ayat abukhadra

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 ?

Member Avatar for ayat abukhadra
0
130
Member Avatar for sozan.galal

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 :)

Member Avatar for m4ster_r0shi
0
172
Member Avatar for gamebook
Member Avatar for GlenRogers

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 …

Member Avatar for sesan2007
0
162
Member Avatar for love_you_4rever

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 …

Member Avatar for love_you_4rever
0
100
Member Avatar for pmark019

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 …

Member Avatar for pmark019
0
297
Member Avatar for aparnesh

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 …

Member Avatar for moji013
0
198
Member Avatar for melodies

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 …

Member Avatar for M.Waqas Aslam
0
152
Member Avatar for pipelian

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. ![Untitled31](/attachments/large/3/Untitled31.jpg "Untitled31") Picture shows that, once the cell is un-checked value disapears on listview.column 1. Thanks daniweb in advance

Member Avatar for M.Waqas Aslam
0
546
Member Avatar for hiral2cool

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.. …

Member Avatar for AnnieCalvert
0
355
Member Avatar for iqra.cs786

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', " & _ …

Member Avatar for M.Waqas Aslam
0
170
Member Avatar for opman234

> 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 …

Member Avatar for M.Waqas Aslam
0
351
Member Avatar for yup790

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.

Member Avatar for godzab
0
101
Member Avatar for munieb

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 …

Member Avatar for snippsat
0
170
Member Avatar for MArun25039

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 …

Member Avatar for Taywin
0
2K
Member Avatar for ryantroop

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 …

Member Avatar for Taywin
0
142
Member Avatar for shsh111
Member Avatar for rayidi

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.

Member Avatar for rayidi
0
233
Member Avatar for mir.jde

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 …

Member Avatar for mir.jde
0
441
Member Avatar for Afupi

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 ( …

Member Avatar for Afupi
0
99
Member Avatar for moone009

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 …

Member Avatar for Reverend Jim
0
349
Member Avatar for dotun.esanoluwa

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 …

Member Avatar for gusano79
0
836
Member Avatar for gauravbhandari

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 …

Member Avatar for extjac
0
215
Member Avatar for winnzor

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 …

Member Avatar for winnzor
0
261
Member Avatar for jamburn

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 …

Member Avatar for jamburn
0
219
Member Avatar for tunisia

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.

Member Avatar for Gribouillis
0
108
Member Avatar for tapuwa2002

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> …

Member Avatar for arrgh
0
285
Member Avatar for Decamm

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 …

Member Avatar for arrgh
0
222
Member Avatar for Plazmotech

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 …

Member Avatar for Gribouillis
0
183
Member Avatar for Helianthus

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. …

Member Avatar for phorce
0
291
Member Avatar for userIT

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 …

Member Avatar for userIT
0
537
Member Avatar for vishalonne

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]: …

Member Avatar for vishalonne
0
360
Member Avatar for Plazmotech

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?

Member Avatar for L7Sqr
0
511
Member Avatar for vinay7868

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

Member Avatar for vinay7868
0
2K

The End.