View Single Post
Old 03-08-2006, 10:05 PM   #3 (permalink)
ChefFrank
Code Monkey
 
ChefFrank's Avatar
 
Join Date: Mar 2006
Location: Woodbury, CT
Posts: 38
ChefFrank is on a distinguished road
Send a message via Yahoo to ChefFrank
SDE -

On my screen, it's $_GET['recipe'] - square brackets - in the code - it's parenthesis in my description of the problem - my bad! Now I know!

I understand what you're saying, though - another concept though my thick skull. Array handling is denoted the same way as in C or in ALGOL - with square brackets.

What I am inferring from what you're saying, is that I could call $_GET with multiple variables, such as $_GET['var1', 'var2'] - and I can further infer that PHP does dynamic variable allocation? Not that this fixes my problem, but it's nice to know.

I double checked the code - and even cut and paste the example DJMaze provided into a new file, and had the same problem. Could I have a PHP version problem? I was running V4, and just in case, just updated to V5 - still the same result. So, not a version issue.

Any other idea will be appreciated.

Frank
ChefFrank is offline   Reply With Quote