<form action="...." method="POST">
<input type="hidden" name="username" value="<?=$user?>">
<input type="text" name="blabla">
sari42 wrote:to make sure that your script will also run on php installations where short_open_tag is off, use:
<?php echo $user; ?> instead of <?=$user?>
This is not necessary, the special token "<?=" is working either for short or long php tag.
http://de.php.net/manual/en/function.echo.php wrote:This short syntax only works with the short_open_tag configuration setting enabled.
Users browsing this forum: No registered users and 4 guests