Re: value error in PHP form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






>>Hi. You left out the 'php' after the '<?'. So it should read:

Actually this is most likely a register_globals issue.  try.
$_GET['action'] or $_POST['action'].  you'll only need to use <?php if
short_tags = off in your php.ini.

HTH
Jeff

<?php
print $action;
print $Name;
?>

See if that helps any.
~Philip

> <body>
> <form name="frmname">
> <input type="text" name="Name" value="Rinku">
> <input type="submit" name="action"  value="Login">
> <?
> print $action;
> print $Name;
> ?>
> </form>
> </body>
> </html>

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux