Re: Parse error: parse error, expecting `']'' in

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

 



Richard Lynch is quoted as saying on 12/1/2004 2:57 PM:
Robert Sossomon wrote:

Parse error: parse error, expecting `']'' in file.php

<SNIP>

Unfortunately?? I knew exactly where the code was breaking (the lines I posted) since before I added those lines of code the script worked without any problems. But what I don't understand is why sometimes '$_POST[variable]' works and why sometimes it will only work when it is '$_POST['variable']' .

Even through my reading and examples I see it both ways, so anyone able to give me a direction to go with it? I am thinking of just changing my coding to put it the second way, but...???

Thanks,
Robert

--
Robert Sossomon, Business and Technology Application Technician
4-H Youth Development Department
200 Ricks Hall, Campus Box 7606
N.C. State University
Raleigh NC 27695-7606
Phone: 919/515-8474
Fax:   919/515-7812
robert_sossomon@xxxxxxxx

--
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