Click here to Skip to main content
15,499,046 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Mail () function friving me crazy with the errors :@ Pin
Adam Maras10-Jan-10 9:36
MemberAdam Maras10-Jan-10 9:36 
GeneralRe: Mail () function friving me crazy with the errors :@ Pin
SRJ9210-Jan-10 9:40
MemberSRJ9210-Jan-10 9:40 
GeneralRe: Mail () function friving me crazy with the errors :@ Pin
fly90410-Jan-10 12:29
Memberfly90410-Jan-10 12:29 
GeneralRe: Mail () function friving me crazy with the errors :@ Pin
SRJ9210-Jan-10 12:41
MemberSRJ9210-Jan-10 12:41 
QuestionProblem with Arrays in PHP Pin
sarang_k5-Jan-10 23:30
Membersarang_k5-Jan-10 23:30 
AnswerRe: Problem with Arrays in PHP Pin
cjoki7-Jan-10 6:35
Membercjoki7-Jan-10 6:35 
GeneralRe: Problem with Arrays in PHP Pin
David192216-Jan-10 13:31
MemberDavid192216-Jan-10 13:31 
GeneralRe: Problem with Arrays in PHP Pin
fly90416-Jan-10 14:15
Memberfly90416-Jan-10 14:15 
David1922 wrote:
Do both work the same?


Technically yes, they do work the same, but the second method is very bad practice. It dosen't serve any purpose, it just wastes processing time as the string has to be compiled to check for variables (which happens to all strings surrounded by double quotes ["]), rather than just having the variable put directly in i.e. the first method.

You should only use quotes in array braces if you have an associative key such as $array['key'];.
Or:
$key = 'key';
echo $array[ $key ];

Hope that helps.

If at first you don't succeed, you're not Chuck Norris.

QuestionProblem with check boxes Pin
sarang_k5-Jan-10 20:57
Membersarang_k5-Jan-10 20:57 
AnswerRe: Problem with check boxes Pin
cjoki7-Jan-10 6:25
Membercjoki7-Jan-10 6:25 
QuestionPHP Member Pages... Need major help... Pin
thebiostyle1-Jan-10 8:46
Memberthebiostyle1-Jan-10 8:46 
AnswerRe: PHP Member Pages... Need major help... Pin
Smithers-Jones1-Jan-10 12:09
MemberSmithers-Jones1-Jan-10 12:09 
AnswerRe: PHP Member Pages... Need major help... [modified] Pin
enhzflep1-Jan-10 12:25
Memberenhzflep1-Jan-10 12:25 
GeneralRe: PHP Member Pages... Need major help... Pin
thebiostyle1-Jan-10 17:14
Memberthebiostyle1-Jan-10 17:14 
GeneralRe: PHP Member Pages... Need major help... Pin
enhzflep3-Jan-10 16:54
Memberenhzflep3-Jan-10 16:54 
GeneralRe: PHP Member Pages... Need major help... Pin
thebiostyle3-Jan-10 17:28
Memberthebiostyle3-Jan-10 17:28 
GeneralRe: PHP Member Pages... Need major help... Pin
enhzflep4-Jan-10 13:22
Memberenhzflep4-Jan-10 13:22 
GeneralRe: PHP Member Pages... Need major help... Pin
thebiostyle22-Jan-10 17:09
Memberthebiostyle22-Jan-10 17:09 
GeneralRe: PHP Member Pages... Need major help... Pin
Graham Breach23-Jan-10 0:31
MemberGraham Breach23-Jan-10 0:31 
GeneralRe: PHP Member Pages... Need major help... [modified] Pin
thebiostyle23-Jan-10 5:33
Memberthebiostyle23-Jan-10 5:33 
AnswerRe: PHP Member Pages... Need major help... Pin
Graham Breach23-Jan-10 6:20
MemberGraham Breach23-Jan-10 6:20 
QuestionRe: PHP Member Pages... Need major help... Pin
thebiostyle23-Jan-10 9:51
Memberthebiostyle23-Jan-10 9:51 
AnswerRe: PHP Member Pages... Need major help... Pin
fly90423-Jan-10 10:33
Memberfly90423-Jan-10 10:33 
NewsRe: PHP Member Pages... Need major help... [modified] Pin
thebiostyle23-Jan-10 10:51
Memberthebiostyle23-Jan-10 10:51 
GeneralRe: PHP Member Pages... Need major help... Pin
fly90423-Jan-10 11:38
Memberfly90423-Jan-10 11:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.