14 Solved Topics

Remove Filter
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 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 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
210
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
407
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
353
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
786
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 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
932
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
648
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
300
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
804
Member Avatar for g2gayan

Hello,.. Im a New Guy to this forum and 1st of all;... Hi :twisted: im a newbie to c# programming as well ,,, anyway.. i have a huge issue .. here is what s going to happen.. [CODE] if (txtPath.Text != "") { FileInfo fn = new FileInfo(txtPath.Text); string p …

Member Avatar for g2gayan
0
362
Member Avatar for kristo5747

Greetings! I created this form that works like a charm, captures data in my db and sends email. Suppose user Joe hits the RESET button before he clicks SUBMIT, all fields are reset. If Joe hits the RESET button AFTER he clicked SUBMIT (e.g. to make a new submission)...nothing gets …

Member Avatar for kristo5747
0
119
Member Avatar for diafol

Hi all. Am messing about with an ajax form at present which loops through records in a DB. This is my issue: I have a reset image link in my form (called "file_edit") which calls a 'confirm reset': [CODE]function reset() { if (confirm("Reset? You'll lose any changes!")) { document.file_edit.reset(); } …

Member Avatar for liamfriel
0
126

The End.