Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Welcome to Code Forum!
Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.
just saw that but it still doesnt fix my errors :
Errors:
Notice: Query was empty[] in C:\xampp\htdocs\uitleensysteem\code\edit.php on line 151
Fatal error: Uncaught Error: Call to a member function bind_param() on boolean in C:\xampp\htdocs\uitleensysteem\code\edit.php:152 Stack trace: #0...
Hello I'm kinda stuck here and I don't know what to do. I have this code where I want to (based on the choice that the user made) put the timestamp into my table
its goes like this if you choose option 1 then insert NULL into both the columns inlever_datum and uitleen_datum
if you choose option...
no I was trying to see different possibilities to solve this problem en forgot that I edited it sorry about that I have solved the problem now:
<?php
//misschien cookies gebruiken om oude gegevens te otnhouden
include "mysqli.php";
include "navbar.php";
?>
<!doctype html>
<html>
<head>
<link...
or maybe the error is in here? this is a table. You click on edit and it will direct you to edit.php
<?php
//print_r($_SESSION); laat de array zien met informatie over het ingelogde user
include "mysqli.php";
if(isset($_SESSION["ID"])) {
// ingelogd
$sql = "SELECT ID, naam, beschrijving...
did an update down here by saying ID=? and adding it to the bind_param but it still updates nothing
// informatie naar de DB sturen
if (isset($_POST["submit"])) {
//update statement
//update studentnummer beschrijving beschikbaar...
full code of edit script:
I define ID on line 93
<?php
//misschien cookies gebruiken om oude gegevens te otnhouden
include "mysqli.php";
include "navbar.php";
?>
<!doctype html>
<html>
<head>
<link rel="stylesheet"...
@Ghost
priviledges:
translation for the words (used google translation for this so I hope you understand what I mean):
gebruikernaam: username
servernaam: servername
type: type
Rechten: Rights
toekennen: award
actie: action
globaal: global
Ja: Yes
rechten bewerken: edit rights
exporteren: export
@Ghost sorry for the late reply
first of all you are right: Leeg means NULL there is nothing in there and Nee means No.
This is what I get when I tuse those codes:
I will check for user priviledges in a sec because I'm not really that good with that. I didn't assign a secial privledge...
just wanted to add this to it maybe it helps? maybe I have done something wrong here ?
this code is for if you want to add something to the db. it works so there is no problem with this one but I tought maybe I did something wrong here and that it might be effecting my UPDATE statement...
I don't underd=stand how and why ?
<?php
//link voor het stoppen van empty values
//dit zou alles naar de database moeten sturen als je op de knop drukt
$ID = $_GET["ID"];
var_dump($ID);
// informatie naar de DB sturen
if...
hello my update button is not updating a specfic row that I selected instead it updates everything how do i stop it from doing this? my suspision is maybe the ID however I don't know what to really call with this? isn't the update statement: UPDATE table SET col1=?, col2=? col3=?;
//variables...