Posts by jnabais • 1 point
3 posts
-
0
votes3
answers515
viewsA: Button type reset calls a function
Good afternoon, Change the HTML select so that the values are for example 1 and 2 and the type reset button puts type button and with an onclick to call the resetForm function() Options within the…
-
0
votes2
answers68
viewsA: move_uploaded_file saved in database, but not saved image in folder! Help
Good afternoon, Try the following code: $link = "nomepasta/".$_FILES["img"]["name"]; move_uploaded_file($_FILES['img']['tmp_name'], $link);
-
-2
votes2
answers340
viewsA: After the user logs out, he leaves, but if you click the back arrow of the browser he accesses again
In the login you can make a session_name('nomedasessaoaescolha'), log in session_start() and save user data for ex: $_SESSION['user'] = $row['id'] and $_SESSION['nome'] = $row['nome']. On logout you…