Folks,
I knew this was wrong but still did it.
[code]
<form method = ‘POST’ action = “$_SERVER[‘PHP_SELF’]”>
I get taken to:
Anyway, I usually come across people doing it like this …
[code]
<form method = ‘POST’ action = “”>
Do you do it like this or what ?
Anyway, I was told to do it like this ….
[code]
<form method = ‘POST’>
What’s your opinion ? Should I stick to this one or the one just above it ?
**EDIT:
Silly me!
Ofcourse this is wrong ….
[code]
<form method = ‘POST’ action = “$_SERVER[‘PHP_SELF’]”>
Should be …
[code]
<form method = ‘POST’ action = “<?php echo $_SERVER[‘PHP_SELF’]?>”>
Nevertheless, I’d like someone to answer my previous post.
Thanks!