Re: Help with login
| From: | tedd | Date: | Fri, 27 Jun 2008 13:38:37 +0000 |
| Subject: | Re: Help with login | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-276049@lists.php.net to get a copy of this message | ||
At 8:37 AM -0400 6/27/08, Dan Shirah wrote:
While it isn't a killer, using different quotes isn't best practice. I use single quotes for just about everything in PHP except when the string contains a variable. So, in my code when I see double quotes, I also expect to see a variable -- it's a debugging check for me. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comHey, I think this should be working but it doesn't seem to be. $_GET["page"] $_SERVER['PHP_SELF']What is the error message you are getting? And, why are you using different quotes throughout all of your script? I believe you should use single quotes for all of your server generated variables like $_GET['page'], $_SERVER['PHP_SELF'], $_POST['user']