Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick variable help needed

Status
Not open for further replies.

kpdvx

Programmer
Dec 1, 2001
87
US
I have a function I wrote called writeConfig. Anyhow, I pass these variables to it-

writeConfig($_POST['dbvalue]['0'], $_POST['dbvalue']['1'], $_POST['dbvalue']['2'], $_POST['dbvalue']['3']);

and I get an error:
Parse error: parse error, unexpected T_LNUMBER, expecting ']'

Any idea how I can fix this?
 
You're missing a close quote near the beginning of your parameter list.

As a general rule, "Parse error" will be generated by a typo of some kind. The most common typos are unbalanced quotes, double-quotes, parentheses, braces and brackes; missing semicolons at the end of a line; missing "$" denoting a variable.

Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top