By absolute5k on
Why am I getting this error message, Parse error: syntax error, unexpected T_VARIABLE ? Everything looks correct and I've compared it to other scripts with similar setup. I am new to PHP and I would greatly appreciate some assistance on this error.
Thanks
Comments
Not a php forum
This is not a php forum. When your script has nothing to do with Drupal, then I suggest you look for another forum.
One tip when posting: include the part of the code that generates the error. It's probably a simple typo (eg missing ;).
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Drupal IS PHP
I'm getting this error on 6.12 when I try to start the initial setup. Line 93. Now I remember why I put off working with Drupal since 4.7.
Yes Drupal is PHP
The OP did not provide any hint (s)he was working with Drupal. Line 93 of what? Can you provide the full error message? The installation has changed quite a bit between major versions. I recommend to closely read INSTALL.txt and not rely on experience with earlier Drupal versions.
Missing Semicolon
As Heine suggested, it's most likely a missing semicolon. Line 93 is the line where you specify the URL for the database, very easy to loose the ; at the end.
(Which, looking at the datestamp, you've probably already discovered.)
It is nice to have a resolution for problems that are still potentially active instead of just snarky coments when you do a google search.