64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for justin22

<?php session_start(); include 'connect.php'; <?php session_start(); include 'connect.php'; if(isset($_POST['submit'])) { //$username = $_POST['username']; $password = md5($_POST['currentpassword']); $newpassword = md5($_POST['newpassword']); $confirmnewpassword = md5($_POST['newpassword1']); $user_id = $_SESSION['user_id']; var_dump($user_id); $sql = "SELECT * FROM user WHERE user_id=$user_id "; var_dump($sql); mysql_select_db($dbname) or die(mysql_error()); $result = mysql_query($sql); //mysql_fetch_assoc($result); while($data = mysql_fetch_assoc($result) ){ $userPassword = $data['password']; …

Member Avatar for Mike_danvers
0
194
Member Avatar for sykopwinx

write a program to take decimal number and to print equivalent character?

Member Avatar for Ancient Dragon
0
106
Member Avatar for laaus001

I have worked extensively with dBASE III+ and Clipper Compiler years ago. I cannot get things to work on my Windows 7 PC. I found a program named dbDOS PRO 2 online and marketed by a company dBASE LLC. I am inquiring as to whether any of you have purchased …

Member Avatar for Ancient Dragon
0
135
Member Avatar for rbyrd

Can anyone tell me how to get rid of the white boxes around the buttons? I want the boxes to be blue so the buttons appear on an entirely blue panel at the bottom of the ffame. I'm using OSX 10.6.8 and Python 2.7. Thanks in advance. from Tkinter import …

Member Avatar for rbyrd
0
275
Member Avatar for ben.juarez.773

Hello, I'm a beginner using Python 3.3.3. I'm working on a little text-based rpg using the skills I've learned thus far, but am wondering what the problem is with my code. When I enter the first input response, like 1, everything seems to be fine, but when I enter 2, …

Member Avatar for ben.juarez.773
0
184
Member Avatar for showman13

This may sound strange, but I'm having an issue I can't explain... and have been researching why for the past day and a half with no results. All of a sudden on Friday Morning I was unable to log into a members back office, which is based on session variables. …

Member Avatar for showman13
0
125
Member Avatar for Dang_1

I try copy a string to another string, but it has error with "_ps->copy(_pt,_beg,_end);". This is my code( but it is not full code): string* find_The_Longest_Word(string* _ps, int _beg, int_end) { string* _pt; _pt =new string(); _ps->copy(_pt,_beg,_end); return _pt; }

Member Avatar for Dang_1
0
110
Member Avatar for rpv_sen

Hi I am trying to enable the fileds with help of radio button is selected below are my code, its working fine for inserting a value in database. I can able to fetch the datas from database for display except the radio button is not getting selected from the database …

Member Avatar for rpv_sen
0
1K
Member Avatar for johnef_sh

I am trying to use PHP with Google map JavaScript this is my JavaScript code I have with the PHP the file name is face.php <?php if(isset($_GET['p'])){$p=$_GET['p'];} ?> <!DOCTYPE html > <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <title>Property Map</title> <link rel="stylesheet" href="../../../../css/960.css" type="text/css" media="screen" charset="utf-8" /> …

Member Avatar for johnef_sh
0
1K
Member Avatar for prince777
Member Avatar for Jjaus

Write a class that accepts a user's hourly rate of pay and the number of hours worked. Display the user's gross pay (gross pay = hours worked * hourly rate), the tax withheld (tax withheld = gross pay * tax rate) and the net pay (net pay = gross pay …

Member Avatar for Jjaus
0
147
Member Avatar for CarterLangley

Hi guys, I have a mysql database with many tables. Instead of creating a page each to enter info into the relevant tables, is it possible to have a form created dynamically depending on what table I want to insert information into? Database has 20 tables in it at present, …

Member Avatar for CarterLangley
0
183
Member Avatar for savedlema

Hi all! I have a USB Modem (dongle) made by ZTE. I normally use it for connecting to the interent. It also came with a dashboard/software that I can use to send & receive SMS and even make a call. I want to make an application with VB.NET that will …

Member Avatar for asarchit65
0
2K
Member Avatar for PulsarScript

Hi to all! I decided to make project about cars and their makes. Can anyone suggest some interesting functions that it might have,to make it interesting Thank you,i opned for ideas 24/7

Member Avatar for vmanes
0
106
Member Avatar for MrNoobieCoder

import random guessesTaken = 0 my_name = input("Hello, What is your name? ") difficulty = input("Well, "+ my_name + ". What dificulty would you like ? easy medium or hard? " if difficulty == easy number = random.randint (1,20) print ("Okay, " + my_name + ". I am thinking of …

Member Avatar for Kai_Chang
0
6K
Member Avatar for 26bm

Hello, I am programming for the new(ish) 4 inch retina display of Apple's mobile products. Since I don't have a Mac computer to program with I've had to use Adobe Flash Professional. I realize that in order for the app to run in the full 4" I need to add …

0
137
Member Avatar for Iikeloa

Hi I'm facing a problem with having two forms in the same page.The problem is that the action is taken from only the first form. For example : <html> <body> <form action='test.php' method='POST'> <input type='submit' /> </form> <form action='testme.php' method='POST'> <input type='submit' /> </form> </body> </html> when I hit on …

Member Avatar for Iikeloa
0
285
Member Avatar for showman13

There was a thread that covered part of this issue, but it never really got resolved completely. I now have everything working the way it is supposed to with the single exception of the transfer of the .csv file from my server to the secure server of my vendor. If …

Member Avatar for iamthwee
0
2K
Member Avatar for swilcox1110

I am working on a homework assignment and have been hashing it out for days. Hopefully my novice status with this wears off soon. I am supposed to create an ISP calculator with checked radio buttons and the user enters the hours. Package A = $9.95 for 10 hours each …

Member Avatar for swilcox1110
0
132
Member Avatar for Sevyt

I think i went somewhat over my head with a little tool i wanted to make. The idea was to bind certain keys(users choice) to countdown timers and progressbars. But since the keys are never the same i have to save the chosen key for the selected progressbar. So when …

Member Avatar for Sevyt
0
210
Member Avatar for ezekel

Hi i need your help please I am still learning android...i don't know this error "at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1133)"... can you help me how to solve this. Thank you.

Member Avatar for peter_budo
0
908
Member Avatar for Rahul47

When we create an object how much memory will be allocated to it ? Is memory allocated for methods too ? If Yes, How ?

Member Avatar for JamesCherrill
0
137
Member Avatar for ZIPB

Need some help with the code below. Getting and error at ExecuteNonQuery() Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnRoomSave.Click Dim con As New OleDbConnection Dim cmd As New OleDb.OleDbCommand cmd = New OleDbCommand(Command, con) con.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source='C:\PATIENT_O\PATIENT_O\Patient-O.accdb'" cmd.CommandType = System.Data.CommandType.Text cmd.Connection = con con.Open() cmd.CommandText = …

Member Avatar for babujibabuji
0
2K
Member Avatar for jrosh

Please any one can guide me how to write a [B] mysql database search[/B][I] in java....[/I] I want to search mysql database for some data in keywords. please help... thnakx

Member Avatar for Sardar_1
0
2K
Member Avatar for aravind326

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like …

Member Avatar for aravind326
0
391
Member Avatar for anand01

I have problem with jinitiator. I am using Oracle ERP forms which runs on Jinitiator.When I access some other java applet application at the same time it runs in the JRE in and works fine. When I pass the same java applet application in ERP through a link , I …

Member Avatar for jwenting
0
196
Member Avatar for xidike

I'm having a great trouble in compiling a custom header file in my project, with Visual C++ 6.0, when I open my source files and click builds, every thing goes fine, but when I try to compile header file, I receive following error, " Cannot compile 'D:\Programs\SalesP.h'; no compile tool …

Member Avatar for xidike
0
195
Member Avatar for GagaCode

I'm newbie to C# so please bear with me for that issue and just to make the issue clear i'm gonna start from the very beginning of the My code What i wanted to do @ the beginning that i wanted to populate my comboBox from MS ACCESS database but …

Member Avatar for GagaCode
0
417
Member Avatar for Binoy_1

How is a request like www.xyz.com/ABCD or www.xyz.com/ABCD?x=1 processed at the server end? Since there is no extension specified (for e.g. ABCD.php or ABCD.aspx), what does the server do? I've seen quite some such URLs and was curious as to just how it works. Thanks in advance

Member Avatar for JorgeM
0
141
Member Avatar for Amanpreet_1

i'll be gratified if anyone can help me thru this ..... my problm if that i have to retrieve data from my sql database ... bt itz stored thr from an app created in php .. so stored using preg_match function in php ....**&nbsp;hlo<div><br></div>** this is format i have it …

Member Avatar for Amanpreet_1
0
387
Member Avatar for Kniggles

hi I am having trouble on echoing a sum from a table, The mysqul works and give me the wantted result and looks like SELECT sum(brick) FROM `goodship` this is the code i am trying to get to show it on the site, <html> <head> <?php $con=mysqli_connect("hostwiththemost.com","bulderbob","superscreatpassword","shipstable"); if (mysqli_connect_errno()) { …

Member Avatar for kgavhane12
0
229
Member Avatar for CoilFyzx

Hello good day. I am trying to figure out if it is at all possible for me to do but I want to access the area that is outside the JScrollPane's view when my JFrame is resized. Let me explain; I have a LayeredPanewith two layers within a JscrollPane. The …

Member Avatar for CoilFyzx
0
235
Member Avatar for Curious Gorge

I was thinking about a question I asked last week that someone answered very well. The person said that no program can interface with the hardware in the same was as the OS. That statement prompted another question and what better place to ask it than here, right? Well how …

Member Avatar for Curious Gorge
0
250
Member Avatar for Spyderbane

I am trying to start a process a a different user but it keeps telling me that the "The directory name is invalid". Dim info As New ProcessStartInfo("notepad") info.UseShellExecute = False Dim password As String = "Password" Dim securePassword As New SecureString() For i As Integer = 0 To password.Length …

Member Avatar for Spyderbane
0
583
Member Avatar for tricket_7

I am to create a program which creates multiple threads, has them do work in parallel, and terminates when the last thread is finished, sounds simple right? Here is the curve... I am supposed to create thread objects using scanner input, and I am at a loss When I run …

Member Avatar for tricket_7
0
729
Member Avatar for mherz

Good Day to everyone... I need some help.. I just have a problem on how do I pass the value from the pop window to my main page. I have a main page where it has two textbox namely DepartmentID, DepartmentName then I also put a Search button that when …

Member Avatar for mherz
0
2K
Member Avatar for davy_yg

Hello, I downloaded apache: [Newest Apache](http://www.apachefriends.org/index.html) And now I wonder why everytime I try to start the apache service this message appears: Attempting to start Apache service... and stuck right there. I think I have tried install and reinstall my apache several from the newest and the second newest version …

Member Avatar for davy_yg
0
265
Member Avatar for Amanpreet_1

i retrieved my values in a default array from sql query ,, bt evn if i have one element in my array m getting a list of items ,, y ? can anyone help me

Member Avatar for Amanpreet_1
0
580
Member Avatar for matmunn14

I'm trying to write a small program to loop through a list of words and find the numeric order of the letters in the string, e.g. HELLO will return 21345 (I don't want to double up numbers) and PROSPER will be 3527416. I'm having trouble thinking of a way I …

Member Avatar for matmunn14
0
312
Member Avatar for Doogledude123

Cannot get FXMLLoader to load this fxml. Error: Feb 19, 2014 11:25:01 PM com.github.geodox.goldminer.GoldMiner start SEVERE: null java.lang.NullPointerException: Location is required. at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2825) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2809) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2795) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2782) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2771) at com.github.geodox.goldminer.GoldMiner.start(GoldMiner.java:24) at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:319) at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:219) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182) at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76) at com.sun.glass.ui.win.WinApplication._runLoop(Native …

Member Avatar for Doogledude123
0
5K
Member Avatar for jj.dcruz

I have coded this today and wanted to find all the data inside my database which is start_time and end_time also date which is very easy for me to validate but when it comes to time... its really hard this is what I want to do. 1. check all the …

Member Avatar for jj.dcruz
0
194
Member Avatar for kent.johnstone_1
Member Avatar for rubberman
0
278
Member Avatar for alyssa.wilkins.77

Hello, I have been trying to make a logical expression that would give me a certain output(Y) from the given inputs(ABCD). The directions are not specific in how I get the output just that I do not simplify the logical expression A B C D Y 0 0 0 0 …

Member Avatar for alyssa.wilkins.77
0
177
Member Avatar for king13

A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $.50 per hour for each hour [I]or part thereof[/I] in excess of three hours. The maximum charge for any given 24-hour period is $10. Assume that no car parks for …

Member Avatar for radhakrishnan.akshai.3
0
24K
Member Avatar for centenond

Hello, long time no ask I have this problem... seems to work fine if i put it like this function cerrarTimeout() { setTimeout("cerrar()",1400); } But i want to pass a variable to cerrar() and it wont work like this function cerrarTimeout(id) { setTimeout(cerrar(id),1400); } nor like this function cerrarTimeout(id) { …

Member Avatar for Luckychap
0
337
Member Avatar for DavidB

I am trying to use Visual Studio's debugging features more effectively; I certainly do not know all its ins and outs. At the moment, I would like to quickly see the values of an array. See the attached screenshot of the Watch Window. The variable **k** is a global array …

Member Avatar for DavidB
0
1K
Member Avatar for Mike_danvers

hi!!m doing my college project on "online digital photo printing"where a customer can upload,edit and order photos at home the problem i am facing is:-i want to provide my users a "price list of photo type(passport size=rs XXX,stampsize=rs YYY)" and these prices should be entered by "admin"in a form..that gets …

Member Avatar for diafol
0
175
Member Avatar for Fatima_110

I'm just starting my 2nd semester in Java. The project for the semester is: I have to create a EDUCATIONAL GAME or any SYSTEM using java. I am clueless what to decide to make. Please I need help ... I dont have enough Java knowledge and need the idea of …

Member Avatar for Fatima_110
0
217
Member Avatar for Vish0203

I'm using a TableLayoutPanel which will contain a few dynamically generated LinkLabel's I get everything except the extra spaces in 1st and 2nd row. I've attached a snapshot through screecast. Can anyone tell me how to remove this extra thing? Heres the snap shot link : http://screencast.com/t/dZqRzSZU

Member Avatar for Vish0203
0
143
Member Avatar for crebz

Am trying to get a function call but i cant get it to print. Please help here. This is the code: def foo(): name = input ('>>').lower().split() for item in name: if name == foo: print ('foo here!') else: bar() def bar(): name = input ('>>').lower().split() for item in name: …

Member Avatar for crebz
0
246

The End.