[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result [phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result Reading a line from a file and comparing. - Pete's QBASIC Site
...
SETPASS:
CLS
INPUT "Enter Password you want to set: ",setpass$
INPUT "Confirm: ",confirmpass$
IF confirmpass$ = setpass$ THEN password$ = setpass$ ELSE PRINT "Passwords not identical!":SLEEP 2:GOTO SETPASS
(Code that saves line of code to file)
...
PASSWORD:
CLS
(Code that sets the value of password$ from a specific line of code.)
INPUT "Enter Password: ",passinput$
IF passinput$ = password$ THEN GOTO DESKTOP ELSE PRINT "Wrong Password!":SLEEP 3:GOTO PASSWORD
Basically, how would I store a value onto a file and be able to access it later?