Thread: $_POST Problem
View Single Post
 
Old July 5th, 2004, 05:17 AM
BuzzLY BuzzLY is offline
Authorized User
 
Join Date: May 2004
Location: , , .
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, you should use single quotes. The only time you should use double quotes is if you have to do something "special" inside them -- for instance, you want PHP to correctly use the variable "in $this string." If you don't need PHP to parse the stuff inside the quotes, then use single quotes, as it's more efficient.

For this reason, it is usually recommended to use single quotes inside all of your arrays.

Michael K. Glass
Author, Beginning PHP, Apache, MySQL Web Development