Can I call .html file as a form action instead of .php?

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

 



Hello,
Some guy told me that I can call the .html file as a form action instead of ..php file.
So he said I could do something like this,
echo "<td><a href=\"editStaff.html?id=$id\">Edit</a></td>";

instead
echo "<td><a href=\"editStaff.php?id=$id\">Edit</a></td>";

editStaff.html and editStaff.php have the same content, only the file name is different. But if I do the former way(call editStaff.html as a form action), it doesn't work. It calls some files but looks horrible.
So the advice of the guy was wrong, or did I do something wrong?

Thanks,

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux