10-27-2009, 09:39 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Apr 2008
Posts: 110
Thanks: 97
|
$_POST problem
I working on another "learning" project. In this one, I am attempting to move a radio button selection ("varname") to another page in order to do a MySQL query, etc., using the $_POST method.
Both of the lines below seem to work the exact same within the HTML table statements that I'm using. However, with #1, the $_POST turns up empty. With #2, the $_POST does have the appropriate value.
1. <?php echo "value = $varname" ; ?>
2. value = "<?php $varname ?> "
What is the difference?
Thanks.
|
|
|
|