Re: Parse error: parse error, expecting `']'' in
| From: | Robert Sossomon | Date: | Thu, 02 Dec 2004 13:21:33 +0000 |
| Subject: | Re: Parse error: parse error, expecting `']'' in | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203336@lists.php.net to get a copy of this message | ||
Richard Lynch is quoted as saying on 12/1/2004 2:57 PM:
Robert Sossomon wrote: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@ncsu.eduParse error: parse error, expecting `']'' in file.php<SNIP>