the password in database doesnt changet when i press change button in the page i show me the pass is change but when i log in with the new pass it show incorrect pass help please <?php session_start (); $user = @$_SESSION['username']; if ($user) { //user is logged in if (@$_POST['submit']) { //check fields $oldpassword =md5(@$_POST['oldpassword']); $newpassword = md5(@$_POST['newpassword']); $repeatnewpassword =md5(@$_POST['repeatnewpassword']); //check password against db //connect to db $connect = mysql_connect ("localhost","root","") or die(); mysql_select_db("phplogin")or die(); $queryget = mysql_query ("SELECT password FROM users WHERE username='$user'")or die ("Query didnt work"); $row = mysql_fetch_assoc($queryget); $oldpassworddb = $row ['password']; //check passwords if($oldpassword==$oldpassworddb) { …

Member Avatar
Member Avatar
+0 forum 15

Hello, I have been using Google AdWords for a while but unsuccessful. Usually, it costs me around $2.50 per click for a keyword like 'Asian dating site'. is there a secret to pay for less than 50 cents per click? Thanks guys.

Member Avatar
Member Avatar
+0 forum 8

Yesterday i completed my exercises on loop , that's why today i've decided to create a tutorial on loop in c++. # Loop # loop allows us to repeat a statement or a group of statements. When we want to repeat a single statement then it is not necessary to put curly braces But if we want to repeat a group of statements then it must be enclosed with curly braces. And it is a good practise to enclosed your loop body with curly braces. c++ has three loop control structures while loop do-while loop for loop # while loop …

Member Avatar
Member Avatar
+7 forum 15

Hello, is it possible to create password protected pdf file using visual basic6.0? Thanks

Member Avatar
Member Avatar
+0 forum 4

Hello to all! I am a begginer to C++ and writing a class . Actually my program runs perfectly but there is logical error. My compiler is devC++. the output of my program should be as follows: Enter your name: john Enter your rollno: 45 Enter your semester:4 Enter your name: Michael Enter you roll no: 78 Enter your semester:3 Name of studend1 is John Rollno of student1 is 45 Semester of student1 is 4 Name of student2 is Michael Rollno of student2 is 78 Semester of student2 is 3 Description of error : First six lines appears perfecly on …

Member Avatar
Member Avatar
+0 forum 4

how can i display selected records from my database(phpmyadmin) in listview using a search button? any reply will be a great help for me.. thank you.

Member Avatar
Member Avatar
+0 forum 1

hi, is it possible to sum all the items/value inside the columns of a listview? here's the situation.. assume that... Product Price J&J 45 <-----inside listview M&M 35 <-----inside listview ___________ 80 <------this will be displayed in a label please, i need help..

Member Avatar
+0 forum 0

Hi team, Kindly, clarify the below query, i am confused the difference between in and like statements in the mysql. mysql> select count(id) as tablename from postings where is_active=1 and publish in (2) ; result -- 38 mysql> SELECT COUNT(*) FROM tablename WHERE is_active=1 and publish like '%2%'; result -- 95 Data in table looks like, 1,2 2,1 1 2 Thanks & Regards, Prem

Member Avatar
Member Avatar
+0 forum 3

Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, the focus should go to the third textbox-'Name' else message "Record not found" should be displayed.I tried the following code but no success. CN.Open() SQL = "SELECT * from Receipts WHERE Bank='" & TxtBank.Text & "'" & "AND Acno='" & TxtAcno.Text & "'" DA = New OleDb.OleDbDataAdapter(SQL, CN) DA.Fill(DS, "Deposit") If DS.Tables(0).Rows.Count = 0 Then MsgBox("No Such Account") Else TxtName.Focus() End If

Member Avatar
Member Avatar
+0 forum 7

pls help me i need this code to view my excel data in vb6 forms only.

Member Avatar
Member Avatar
+0 forum 1

I am trying to create a program in windows forms and i am almost done by my array will not store numbers. It will only use the last number entered. Please help, i did this program in c sharp without a problem but cant figure out windows forms application. public partial class Form1 : Form { int[] vars=new int[5]; int integersEntered; public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { vars[4] = int.Parse(NosArray.Text); Integer.Text = integersEntered.ToString(); integersEntered++; NosArray.Text = String.Empty; NosArray.Focus(); } private void Integer_TextChanged(object sender, EventArgs e) { …

Member Avatar
Member Avatar
+0 forum 8

hello Guys, Which is the Best tool for Webite analysis?

Member Avatar
Member Avatar
+0 forum 2

i just want to know how can i start to code my private GUI in c++ what libraries can i use? and is there any book or bdf can help me ?

Member Avatar
Member Avatar
+0 forum 7

what difficulties most of the beginners in c++ programming student face i guess logic building ** i have a blog about c++ programming for beginners on which i try to things the as simple as i can so every beginner can understand the logic of program. Because once they are understood the logic it will open their mind in logic builiding I Want Some Suggestion Any Kind OF Related To Basic C++ Which Can Be Helpful For A Beginner So My Can Be More Beneficial For C++ Beginners Its My Blog [C++ Programming For Beginners](http://www.fahad-cprogramming.blogspot.com)

Member Avatar
Member Avatar
+0 forum 5

hello i have create some webpages they work and are nice but when i click in contat form which contain php code inside it display all code which are inside.

Member Avatar
Member Avatar
+0 forum 13

I was working with VB6. Now I am trying to study VB.NET. In vb6 There is Cancel property for command button eg. If we make the cancel property of exit command button 'True',then if we press Esc key ,we can exit from that form even without clicking the exit button. On studying the properties of buton in VB.NET I couldn't see the cancel property.Am I right ? or Is there any similar property for the buttons.. Any body please advise me..

Member Avatar
Member Avatar
+0 forum 2

How i ll display one image into differnt frames in php or wordpress ,when user click on particular image

Member Avatar
Member Avatar
+0 forum 1

Hello guys! I am trying to build app with this requirements: *We need a class Person with properties Name, Address and Gender, and with the ability to Save and Load all properties to/from local file system* I am having trouble to make method that will create new person object (for example Person p = new Person();), but each next object should be incremented p1,p2,p3... as long as there are entries. Any ideas?

Member Avatar
Member Avatar
+0 forum 2

I have an accommodation reservation system that allows managing agents to list all the properties under their control. There are various 'locations' that have a priority such as:- 'Beach Front' has priority of 1 and 'Off beach' a priority of 2 etc. Setting these are pretty much a straight forward issue as they dont change. The issue I am facing is that within each location there are properties and they too have priorities. When someone searches for a holiday home the results are sorted by location.priority and then property.priority. This is done so the admin can push higher priced establishments …

Member Avatar
Member Avatar
+0 forum 5

I am a beginner in php. And I want to know field level validation using php not by javascript or jquery. How to do this? My incorrect code: form method="POST" action="registrationp.php"> <input type="text" name="emailid"><?php session_start(); if(isset($_SESSION['error'])) {echo $_SESSION['error']; } ?></br> <input type="submit" name="submit_form" value="Register"></form> session_start(); if (empty($_POST['emailid'])) { $emailid ="Please enter your emailid"; $_SESSION['error']=$emailid; } I tried but it is not working.please guide me.

Member Avatar
Member Avatar
+0 forum 1

Hello, I have some 5 picture boxes, and stored the images into imagelist. Now I can able to load 5 picture boxes with first five images from imagelist. I have two buttons previous and next. I got stuck with this, please help On click of next button, it should hide picture from picturebox1, and move all the images, finally the 6th image from imagelist should be loaded into picturebox5. And vice versa on previous button event. Thanks.

Member Avatar
Member Avatar
+0 forum 1

Well I have created this one and on my computer it is working. I would like to hear about some alternative solutions. INTRODUCTION This time I have one algorithm, but to understand it we need to consider a few terms. First of all, we should be familiar with the pangrams. For example: “The quick brown fox jumps over lazy dog” is the famous one. The pangram has all letters of a particular alphabet. Yes, there are perfect pangrams they have all the letters, but they don’t repeat more than once. In this case we will use: “D. V. Pike flung …

Member Avatar
Member Avatar
+0 forum 7

the codes running ok on NetBeans, and wih the error messages while I am running the jar file. Any helps with the following code would be very appreciated. Scanner file = null; while(file.hasNext()){ if (file.hasNextInt()) list.add(file.nextInt()); else file.next(); }

Member Avatar
Member Avatar
+0 forum 2

how can i add chat option in my website?

Member Avatar
Member Avatar
+0 forum 5

Hi, I changed my wodrpress URL manually and after then i saved and loged out from admin panel . now i can't login to my wordpress Admin page after changing The URL 's and whenever i want to log in it redirects to other page that i changed in URL . now i can't login to Admin page to correct URL's . what should i do to solve this problem . Thanks so much ,

Member Avatar
Member Avatar
+0 forum 4

HI: I'm new to prstashop developement Enviroinment. In Prestashop I have created on module, In that I want to create a page and need to place the link in user dashboard once the user was logged in this link will be display in user dashboard, how to do this. Thanks in Advance.

Member Avatar
+0 forum 0

I already created application, now I want to add the "Submit Software/image/etc page", So i am having my own website in weebly which allows me only 10MB per File, and also I am link with mediafire, 2shared, 4shared etc hosting service, But what i need is that the user can browse their file and then they can submit me, Which will directly upload to the website/hosting service. Reason: i create mail sender and it's work, but it did not work when I send the exe file to someone as gmail pop up error. So Is there any way so that …

Member Avatar
Member Avatar
+0 forum 2

Hi everyone I'm new to c++ but have had some luck so far. But I have of course met a problem. The program I'm making is supposed to find a a unkown file with an ID. The onliest thing I know of the file is the folder its in. so I want to open every file in this folder and read them, to see if they have the ID. But I dont know how to do that. this is what I got so far: void FindFile(){ char pPathFolder[250]; char pPathCommunicator[251]; string FolderPath = "\\Documents\\logfiles"; // this is the folder with …

Member Avatar
Member Avatar
+0 forum 9

Please help! i am troubling about on how can i execute my sql script properly. Thanks!Here's my code $sql="INSERT INTO inventory(account_number,serial_number,locator,remarks,`date_assigned`) VALUES('$accountno','$serial','$locator','$remarks',NOW())"; $sql.="INSERT INTO action_log(action,username,`date`) VALUES ('assigns the box($serial) to $accountno','$user',NOW())"; $sql.="INSERT INTO account_logs(action_log,account_number,username,`date`) VALUES('Assign','$accountno','$user',NOW())"; if(mysql_query($sql)){echo "Successfully Assigned!";} else{echo "Insertion Failed!";}

Member Avatar
Member Avatar
+0 forum 5

I am trying to plot a graph in matlab using c++. But the matlab is only giving me an empty graph. void portfolio::viewGraph() { double value[20]; //store portfolio value double time[20]; //store time int i=0,j=1; double cash,p; ifstream in_file("transactionhistory.txt", ios::in); string c; while(in_file>>cash>>p>>c>>c>>c>>c>>c) { value[i]=(p+cash); cout<<p<<endl; time[i]=j; cout<<time[i]<<endl; i++; j++; } Engine *ep; if (!(ep = engOpen(NULL))) { return ; } int t=20; mxArray *A; // assume a gets initialized, all values A=mxCreateDoubleMatrix(1,i, mxREAL); memcpy((void *)mxGetPr(A), (void *)value, sizeof(double)*i); engPutVariable(ep, "value", A); mxArray *B; // assume a gets initialized, all values B=mxCreateDoubleMatrix(1,i, mxREAL); memcpy((void *)mxGetPr(B), (void *)time, sizeof(double)*i); engPutVariable(ep, "time", …

Member Avatar
+0 forum 0

The End.