35 Topics

Member Avatar for
Member Avatar for sammry

Hi, I use the following code from phpmyadmin to reset one of my table's auto increment value from 1. SET @count = 0; UPDATE `mytable` SET `mytable`.`id` = @count:= @count + 1; ALTER TABLE `mytable` AUTO_INCREMENT = 1; But I want to run this query from PHP file and set …

Member Avatar for matrixdevuk
0
2K
Member Avatar for gcardonav

I want to create an option that will reset my page once the user clicks on an alert the controller will reset to original form. I have the alert all set up but I am not sure how to do this. In JavaScript I created a function that did this …

0
182
Member Avatar for mexabet

I'm having an issue with coding a script that enables a logged in user to change his/her password. But when the form is submitted, a strange, blank page is displayed. There's no error message. Can you guys please, help me to resolve this issue? I'm not yet proficient in PHP …

Member Avatar for cereal
0
341
Member Avatar for patk570

Hello, I found this script and have used it for my login system. http://www.wikihow.com/Discussion:Create-a-Secure-Login-Script-in-PHP-and-MySQL I have changed some variables but none the less its the same. I am trying to create a reset password script here is what i tried so far: function resetPassword(){ //Main Info $id = $_POST['id']; $email …

Member Avatar for patk570
0
311
Member Avatar for Nshark

I'm trying to set up a timer that counts up to ten and starts/resets when the left mouse button is clicked (anywhere on the screen even when the application is in the background). I'm struggling to find a code that suggests it is possible and now I am starting to …

Member Avatar for dionterry
0
5K
Member Avatar for edensigauke

I have reset an Acer Laptop running Windows 8 to its original settings and it has brought up German. i need to know how to get it back to English. I DO NOT SPEAK GERMAAAANNNNN!!!!!!!

Member Avatar for caperjack
0
301
Member Avatar for adam.meyer.712

I need help writing a program in c++ where i have to write 3 different programs, a webcounter.cpp,webcounter.h, and test_prgm.cpp.So then i have to creat a makefile to compile them together, and the result of the program is "When I create the the counter, I would like to be able …

Member Avatar for adam.meyer.712
0
358
Member Avatar for Start4me

Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be …

Member Avatar for Start4me
0
1K
Member Avatar for eternalhour

Hi Daniwebbers, I've created a web form and code in order to reset/clear the form with a button. However, in a specific circumstance, the form only resets properly if I go to a separate page then come back to the form and reset it. It only happens directly after I …

Member Avatar for eternalhour
0
209
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Member Avatar for SLMQC
0
405
Member Avatar for ybean4

Hi, after searching a bit on the web I'm getting mixed messages about whether there's a difference between a hard and soft reset on a PC (shutting down vs. restarting). I know that shutting down removes power from all the cards and drives, but I'm specifically wondering about clearing memory. …

Member Avatar for rubberman
0
215
Member Avatar for captainjake

K! I have been off the daniweb for sometime now. But came back today. But i think i forgot my login details..... so i asked for the reset mail. And i got it, but when i click on the link, it just goes to my profile and no option whatsoever …

Member Avatar for PrimePackster
0
465
Member Avatar for Benderx

Hi everyone, I was writing a program to show visually some vectors I was implementing with Java but I ran into an issue. My program has 3 classes, a driver, a Vector class and a VectorDisplay. The driver and vector class are self explanatory, but here is the code. Driver: …

Member Avatar for JamesCherrill
0
352
Member Avatar for Matigo

Hello everyone In my app i'm using the counter and timer, But im stuck with resetting the counter My code is: If Timer2.Enabled = True Then counter = counter + 1 Label1.Text = counter If Label1.Text = "180" Then Timer2.Enabled = false Timer3.Enabled = true End If End If End …

Member Avatar for Matigo
0
784
Member Avatar for TrustyTony

I have a friend laptop, which shortly recovered running without battery by cold treatment in freezer for two hours, but got symptoms back after trying to charge the battery overnight. Now it again tries to start, accesses the DVD drive and lights up some leads, but not by Power switch …

Member Avatar for caperjack
0
262
Member Avatar for Rajneshwar

1. Boot from Windows 7 Disk 2. Command Prompt – copy c:\windows\system32\sethc.exe c:\ copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe 3. Activate Sticky keys by SHIFT 5 times In Command Prompt Enter: net user administrator **NewPassword**

Member Avatar for ksekyere
0
344
Member Avatar for ksekyere
Member Avatar for Khav

Hi I accidently double click on the toolbar and now ALL button on toolbar are gone. I want to reset it to default and get my buttons back. How to do that I tried to write click on Toolbar then Reset toobar , still no good I even tried reinstall …

0
135
Member Avatar for agnair

Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When …

Member Avatar for Netcode
0
273
Member Avatar for vuquanghoang

I have created pages to comping some content and adding it into db. Here they are composing.php <html> <head> <title>Composing news</title> <script type="text/javascript" src="includes/jquery/jquery.min.js" ></script> <script type="text/javascript"> function reset_form() { document.getElementById("title").reset(); } </script> <script type="text/javascript"> $(document).ready(function(e) { // ready method make funtion available after the document has been loaded $("#submit").click(function(){ …

Member Avatar for dpste
0
4K
Member Avatar for viktor.baert

Hello, I'm trying to make a very basic + - calculator in java using constructors after watching thenewboston video tutorial I tried to experiment with it. My litle project is almost finished my only problem is that the boolean I use is being reset after I assign it. If someone …

Member Avatar for viktor.baert
0
931
Member Avatar for sampsont

I want to re-use a vector<short> over and over in a performance critical loop. I only need the vector **size** to be reset to zero at the end of the loop. I'm worried that the myVector.clear() takes time to actually clear all the memory. Also, does the myVector.reserve() survive the …

Member Avatar for sampsont
0
637
Member Avatar for BCBTP

I am not really good at HTML, (I assume this is HTML, at least, I do C++ mainly). I found this thing called "passwordreset.htm" and I got a little curious(this is on a school computer). I decided to open it, and I found something that looks like a password reset …

Member Avatar for BCBTP
0
262
Member Avatar for b56r1

Hi everybody. I am new to Network programming, i need some help :) I have 4 "Intel Corporation 82574L Gigabit Network Connection" ethernet adapters on sandy bridge system. I'm using Linux kernel 2.6.35.10. While i'm passing traffic from iperf software on any of ethX port and disconnect ethernet cable of …

Member Avatar for b56r1
0
352
Member Avatar for Jerry99

There was a paper jam in my hp P2055 laserjet printer. Of course, this is not a big news. However, after clearing it the printer is still complaining "jam in cartridge area" and gives advice how to fix the things, but the problem is, there is nothing extra visible any …

Member Avatar for mjdodd
0
345
Member Avatar for revski

hi i seem to have run into a problem when adding records to a Typed file that already exists. I have used ReWrite method to create the file in the first place. [CODE] // Open the file for writing To AssignFile(F, ExtractFilePath(Application.ExeName) + 'bin\drivers' + (frm_vars.Driver1.Caption) + '\card.digi'); Rewrite(F); // …

Member Avatar for pritaeas
0
242
Member Avatar for ndeniche

I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into …

Member Avatar for ndeniche
0
330
Member Avatar for caierhui

I am making a request form with a uniqe FORM NO. in order to recall the data faster. The FORM NO. is formated as follows, yyyyMMdd-000 the 000 will be incremented for every transaction made that's easy... but the problem is how to reset it back to 000 the following …

Member Avatar for javaAddict
0
297
Member Avatar for klemme

Another issue with sha1. I am creating users via a registration form, that when submitted, has made the password a sha1. [B]Registration script:[/B] [CODE] if($_POST['pass1']==$_POST['pass2']){ $password = sha1(mysqli_real_escape_string($connection, $_POST['pass1'])); } [/CODE] When the user log in, I have this script using sha1. [B]Login script:[/B] [CODE] $password = sha1(mysqli_real_escape_string($connection, $_POST['password'])); $sql=("SELECT …

Member Avatar for klemme
0
799
Member Avatar for NewOrder

i was searching for a code to reset explorer! i found a code, but it isnt effective, is there a code to counter explorer weird behavior? another question, should i use apdiv , cause each time i use them (mainly by dreamweaver functionality), internet explorer goes mad!!!

Member Avatar for shaya4207
0
123

The End.