I am having trouble passing a $_GET variable. It is "getting" it correctly but it wont pass it to next site.
Here is my code that I am trying to get to work. Now when I pass this I get a error that says.
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
$id = $_GET['id_eve']; $MM_redirectLoginSuccess = "calenderedit.php?id_eve=$id";
Here is the scenario...
I have a dynamic calendar view page, it loads id_eve and grabs the correct information from the database. I have a "Login to Edit" form at the bottom of the page. Which is what the redirectLoginSuccess variable is for. Now when I hit the sumbit form information button it send me to the site but it just has "calenderedit.php?id_eve=" in the address bar but no variable....
Can you help? BTW I have all my code like this above the html tags.