199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for venkyb47

Is any way to do user authentication without using mysql. One way I found is using session, but it is not recommended. Is it possible with text file? If possible how to do that and is secured? Thanks

Member Avatar for LaxLoafer
0
272
Member Avatar for bobit

I do not know if I am on the right track or not, but I have hit a dead end. I have read and reread my books chapters about super classes and inheritance and am still completely lost. in this assignment I have to: **Write a super class encapsulating a …

Member Avatar for stultuske
0
575
Member Avatar for lewashby

Note that this is on a Linux machine. I'M just starting to learn PHP and MySQL. I wrote the following php program that executes from an html form. Note that at this point the date from the html form is not being used to query the MySQL database. At this …

Member Avatar for pixelsoul
0
350
Member Avatar for el.hafez44

Can anyone help me solve this problem, i tried everthing and googled all over everything, but still cant find solution, i hope somebody help me, ty, *sorry for my broken english $db=mysql_connect ("localhost", "root") or die ('I cannot connect to the database because: ' . mysql_error()); $mydb=mysql_select_db("database"); $sql="SELECT ID, FirstName, …

Member Avatar for pixelsoul
0
284
Member Avatar for mayuri.koul

**have used the following code for displaying names of my sql db tables in combobox...now i want dat when i click on any of these table names from combo box..my dgv populates with that table's contents...i have gor three tables in my db..lol,datejoin and tble ** private void Form1_Load(object sender, …

Member Avatar for TnTinMN
0
1K
Member Avatar for HankReardon

Hello, What is the best way to count the number of swaps required to sort an array that is sorted using the Quicksort algorithm? I put a counter in what I believe is in the correct position and the tests that I have run seem to be correct however Quicksort …

Member Avatar for JamesCherrill
0
4K
Member Avatar for JeanPhilippe

Hi, I'm making a small web-based software and I need help for a search query that looks for results in 2 tables. I can run it very well like this for a single table : $query=mysql_query("SELECT * FROM `customers` WHERE `name` LIKE \"%$search%\" ORDER BY `name` ASC"); But, here is …

Member Avatar for simplypixie
0
277
Member Avatar for gronkite

I have a homework task where I need to determine which sorting algorithms are implemented in a .jar file provided by my teacher. Obviously I need to design my own tests to do this, so I was doing a bit of research on best/worst case scenarios but what I found …

Member Avatar for somjit{}
0
805
Member Avatar for jerryvdk

Hi Iam using visual Studio 2008 professional edition in which iam working with visual c++ projects. I want to generate class diagram for the project. Class diagrams are working fine with c# and VB projects but its not working for c++ projects. I created fresh projects and tried to generate …

Member Avatar for Ancient Dragon
0
522
Member Avatar for cmabill

my google map works very well except that the language is not English but Chinese, I need it to be default in English, and anoter problem is infobox size isa little big than what I need, pls see the attached shot, when I click the marker, the infobox display is …

Member Avatar for AleMonteiro
0
345
Member Avatar for pelle12

Hi All, I'm new in android app development and before you present a proposal to the client is it important that you must create a mock up of the design of your app first? If so what are the proper way of creating a mock up design for an android …

Member Avatar for peter_budo
0
106
Member Avatar for straylight

What I am trying to find out is how to securely send a username and password to an API. Basically I am accessing a restful API using a URL like "https://myapi.com/api/username=test&password=test123". If the username and password are correct the API will return a JSON page. How would I go about …

Member Avatar for joefazee
0
293
Member Avatar for nytman

first of all my apoligies if i asked something irrelevant, i am new to programming ad also new in python, my question is: i have to write a simple program in which i have to ask for the number of employee in the company and then i have to create …

Member Avatar for nytman
0
1K
Member Avatar for techyworld
Member Avatar for EmilyJohnson
0
83
Member Avatar for ChrisXL

Hey everyone. Got a problem that I really need help solving. I have a page where a user is able to search a database for certain criteria (species/location/dates etc). What I have so far is when the form is submitted, the values are posted to a PHP script, which performs …

Member Avatar for pritaeas
0
317
Member Avatar for bobit

I have to: **write a class encapsulating a sports game, which inherits from Game. Where the game has the following additional attributes: whether the game is a team or individual game, and whether the game can end in a tie. ** I am not familiar with inheritance and am wondering …

Member Avatar for JamesCherrill
0
2K
Member Avatar for timetraveller1992

I'm trying to make a small app with the following look ![2d3a438a99c57975b0cd40c49d67c502](/attachments/large/3/2d3a438a99c57975b0cd40c49d67c502.jpg "2d3a438a99c57975b0cd40c49d67c502") Thats an edited image of what exactly im trying to achieve. But here's what I got... ![b7f011c0afa0031328e917e8553abc2d](/attachments/large/3/b7f011c0afa0031328e917e8553abc2d.png "b7f011c0afa0031328e917e8553abc2d") Could you tell me where I went wrong. And if it isn't much effort could you advise on how …

Member Avatar for JamesCherrill
0
156
Member Avatar for Frensi

I'm following a tutorial for making tiled maps in pygame and on the very first piece of code I'm getting an error. (http://qq.readthedocs.org/en/latest/tiles.html) On this line "for tile_x in range(0, image_width/width):" it's raising this error: "'float' object cannot be interpreted as an integer". The image dimensions I'm loading are 96x64. …

Member Avatar for sepp2k
0
11K
Member Avatar for ytq_

Hi, there's a list with tuples. lst = [('Meat', 'Milk'), ('Cake - Cookie',), ('Apple', 'Orange')] For each tuple of `len == 1` I want to split it at ` - ` so it results with: lst = [('Meat', 'Milk'), ('Cake', 'Cookie'), ('Apple', 'Orange')] I tried [tuple(x.split(' - ') for x …

Member Avatar for Lucaci Andrew
0
9K
Member Avatar for awuja

Hey guys.. need some help with this; I'm pulling my hair out.. i've trawled these boards but can't find anything that answers my question. I, like many others before me (so it seems!) am trying to create a program to check for a palindrome.. this is what I have so …

Member Avatar for robertospartan
0
685
Member Avatar for bobit

Hey, I have an assignment to :write a program that reads a file and writes a copy of the file to another file with line numbers inserted. I am not sure what to do at the end of the code at the "for(int i =0; i < lines.length; i++)" part. …

Member Avatar for bguild
0
147
Member Avatar for CHOCHOCHO

I need help creating my operator+ function.The first thing i did was send the binary numbers to the reverselist funtion, but i ended up getting some errors. Binary.cpp: In function `binary operator+(const binary&, const binary&)': Binary.cpp:164: error: invalid initialization of reference of type 'nodeType*&' from expression of type 'nodeType* const' …

Member Avatar for Labdabeta
0
681
Member Avatar for jovstudios

Hello Guys, I need Your Help,, im just Worried for declaring the Month of January, Because whenI search Month of January , The Month of October, November, And december, Would Appear. I want to search is The Month of January Only. This is My Code. January = 1 February = …

Member Avatar for jovstudios
0
149
Member Avatar for tformed

is there any way one could do a square root program without sqrt or pwr functions? Any tips? I am not asking for code btw.:)

Member Avatar for vmanes
0
3K
Member Avatar for <M/>

I am trying extract 5 numbers from a loop that generates 78 numbers randomly. How would i do that? for(i=0; i<=78; i++) { //i am not sure how to extract the numbers from here randomly } //I am also wondering how to take it's average, or am i doing it …

Member Avatar for <M/>
0
431
Member Avatar for Jake.20

I'm stuck on this problem for about 2 days now and i still can't find a way on how to bind my data column on the combobox. need help guys i really appriciate your help. And this is the code i have made so far. Private Sub Form_Load() adodc1.ConnectionString = …

Member Avatar for Jake.20
0
150
Member Avatar for riahc3

Hey I have a program in retrieving data from a HTML page with Javascript using Java. Lets say I have the structure of C:/index.html C:/js/script.js index.html contains: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="js/script.js"></script> </head> <body> <a href="javascript:void(0);" id="add"><img src="images/menunew.png" alt="plus" border="0" /></a> …

Member Avatar for Sammy@
0
2K
Member Avatar for bob89

I know that there are plenty of open source implemenations of AVL trees out there but I was wondering if it is possible to have a AVL that has repeat entries. I want to use one so I can search records by various fields. Eg I would have one for …

Member Avatar for paladin.lone
0
338
Member Avatar for abdalqader.abdelhalem

i want to search for an item in a datagrid view via a textbox .. so i type something in the textbox like the product name .. and he finds it .. i use visual studio 2010 and access database

Member Avatar for kRod
0
151
Member Avatar for chrisStark123

I have a vector<purchases> v where purchases is defined as: struct purchases { string name; int amount; string item; }; vector<purchases> v; I need to find the 3 top buyers. ie. the name of the top 3 people with the highest accumulated amount. The problem I have is when I …

Member Avatar for chrisStark123
0
141
Member Avatar for Labdabeta

Hello, I am working on an arbitrary precision arithmetic library. I already created a version that just stored numbers as "before decimal point [unsigned array]" and "after decimal point [unsigned array]". The issue is that it is both inefficient and incomplete. I would like to incorporate complex numbers into the …

Member Avatar for deceptikon
0
236
Member Avatar for prnjn

How can i capture and transmitt and recieve audio and video using jmf ? Is is possible to provide gui to clients on applet and make authentication mechanism and database connection aur user credential through java servlet? How can i provide feature of adding friends and showing online status of …

Member Avatar for prnjn
0
167
Member Avatar for prnjn

Hi I have to develope video chatting application for my major project. I have 45 days in hand. How can i use applet in dynamic web project of java servelt for displaying video ? How can i make applet to be used on client's browser. what is the way to …

Member Avatar for Antenka
0
315
Member Avatar for prnjn

Hi. In a video chatting application , how can i provide user with the feature of adding friends and showing the list of online friends. Also how can i capture audio and video and transmitt(sender client 1) and recieve (reciever client 2) using jmf and rtp . I have studied …

Member Avatar for prnjn
0
352
Member Avatar for bansarisavaliya

Hello, any one can help me " i want that When i press ENTER key control focus on next tab in asp.net

Member Avatar for JorgeM
0
3K
Member Avatar for 9tontruck

Hi, I am implementing an applicaiton which uses CPU but having a problem about allocating in GPU memory. Above all, my work environment is Windows 7 Visual Studio 2010 NVIDIA Quadro NVS 290 (256MB) When I run a piece of CUDA code: cudaMemGetInfo(&freeMem, &totalMem); I get 256MB of total memory …

Member Avatar for 9tontruck
0
385
Member Avatar for diether.silverious

Hi guys good day, im a student and i want to practice my php skills, i have a big problem in arrays that i cant solve almost a week so i decided to attach the php files as well as its database.pls help me so that i can study this …

Member Avatar for diafol
0
443
Member Avatar for weasel7711

Greetings, My name is Micah, I live in the US and I am a recent graduate in the field of Computer Science. I have experience in C++, C# and Java but only basic console programs and minor OOP. I have a little database administration experience. I currently work in the …

Member Avatar for L7Sqr
0
299
Member Avatar for davy_yg

Hello, I am trying to create a simple file browser like: [media manager](http://www.rustoleum-indonesia.com/media%20manager.jpg) how?

Member Avatar for mattster
0
63
Member Avatar for Superfreak3

Hi all, This is kind of related to another thread I posted in C++, but I thought I'd go the VB.NET route and have a co-worker help with the C++ conversion if needed. I hope I'm getting pretty close with this... Const MinMsiVersion = "3.0" 'Minimum version to support functionality …

Member Avatar for Superfreak3
0
261
Member Avatar for Travus

So I have this line of code: $results = mysql_query('SELECT * FROM members WHERE category1="Photographers" ORDER BY premium DESC, featured DESC, company ASC'); Everything works great, Premium members show up above featured. Featured above regular members, and they are all in alphabetical order. However I want to have featured members …

Member Avatar for Travus
0
142
Member Avatar for Papa_Don

As state previously, I'm a newbie at coding in VB and have much to learn. I'll appreciate your input and knowledge! I'm creating a Order Entry form. I have the database in place with some "test" items in the in the table. I now want to begin creating a new …

0
94
Member Avatar for turpentyne

I'm trying to get this code to toggle between innerhtml - turn off embedded music. But it doesn't seem to be firing? The html in question: <span id="music"> <embed src="http://thewalshgroup.ca/dev/the-nest/music/12_full_prom-night_0132.mp3"autostart="true" loop="true" width="2" height="0" id="player"> <noembed> <bgsound src="http://thewalshgroup.ca/dev/the-nest/music/12_full_prom-night_0132.mp3"> </noembed> </embed> </span> and the jquery function: $(document).ready(function() { var playing = true; …

Member Avatar for turpentyne
0
422
Member Avatar for masterfact18

what i want is to put a range in the textboxes like 1-100 and will not accept if it is greater than 100 or a negative number... hoping for your response...

Member Avatar for tinstaafl
0
186
Member Avatar for SoreComet

Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include …

Member Avatar for SoreComet
0
366
Member Avatar for Contagious98

I just dragged a menustrip from the tool box and put in some text like "File" and on the drop down menu is "Event Registration" text. I dont know the codes for the menu strip on how to link it to another form. I've already created a form named Eventregistration.vb …

Member Avatar for Mapz Xate
0
2K
Member Avatar for masterfact18

im creating a simple calculator and i dont know how to disable letter in the textbox.. can someone help me please...newbie here....BTW im using VB6...

Member Avatar for AndreRet
0
449
Member Avatar for thats_nice

Hi all, I will be using the USRP Software Defined Radio to receive satellite signals for a project. I have been looking around, but I can't seem to find any tutorials that can help me do this. I know that the USRP's have an API that interfaces c++, but have …

Member Avatar for thats_nice
0
130
Member Avatar for blaze007

I have a text file containing the following content: 0 12 1 15 2 6 3 4 4 3 5 6 6 12 7 8 8 8 9 9 10 13 There are no spaces between two rows but there is a space between two numbers. I want to read …

Member Avatar for ddanbe
0
382
Member Avatar for sk8ergirl

Hi I have girdview with product id and price when the user select row from gridview the product id shpuld be added to listbox and when the user click on delete button the selected row in the listbox should be removed from the gridview .. here is my code for …

Member Avatar for BMXDad
0
289

The End.