I'm pretty sure I'm doing something wrong that's very, very simple. My problem: I can't see it! So here's hoping that someone will take a glance and say "that's it!"
I've taken this all the way down to basics since it just doesn't want to work. Here's what I've got right at the moment.
index.php has the following link: upload.php?klantid=1
Yes, I did hardcode that 1 into the URL, to avoid other problems.
When I get to update.php, I'm doing a couple of things to test:
<?php
$klantid = $_GET['klantid'];
echo 'klantid: '.$klantid;
echo 'get: '. $_GET['klantid'];
?>
The answer to the first echo, where I try and print the variable I created is "Klantid: " - in other words, nothing.
When I print the $_GET['klantid'] it prints perfectly.
So what am I missing, here?