Hello, I'm new here and in the whole PHP world 😃
I hit a wall trying to make a small script. I actually followed some tutorials and resulted in a problem. I want to pass on some Variable Values throu a Hidden Form type to another page and well I have the following prob
print "<table align='center' border='1' cellpadding='0'><tr><td>
<form method='post' action='final.php'>
<input type='submit' name='keybutton' value='Show Key'></td></tr>";
print "<input type='hidden' name='title' value='$title'>";
print "<input type='hidden' name='makekey' value='$makekey'></form>";
I hoped that with these lines (lines are on the wordgame.php page) I could pass on the information of $title and $makekey to final.php through an Hidden Form type.
However , the line:
print "<input type='hidden' name='makekey' value='$makekey'></form>"
seems to print out my $makekey value (even printing out the " '> " afterwards) on the wordgame.php while I do not have the same problem with the $title which is one line above.
Don't know what I'm doing wrong.
PS. I haven't moved on to MySQL thats why I'm using this method. Sorry, I'm noob 😃