Can somebody show me a code here how can I use a variable in a POST a form action.
Is there a diference between how functions work in php 4.1 and php 4.2? I mean, are the 4.1 functions working in 4.2.?
I want to do something like this:
How do i define the variable called in the link a href=page.php?page=somepage
Is this right? it doesn't work however.
Code: Select all
<?php
echo $variable;
?>Code: Select all
<form action="$page.php" method="post">
<input type="text" name="variable" />
<input type="submit">
</form>PS: just to make things a bit more confusing, I'm using a class that is included that will form a text box and then the value of the text box is supposed to be saved back to the page that was just called.
Does this make any sence. If you need more information just post a reply.
Thanks so much.