Jump to content

parse error, unexpected T_STRING


Petrushka

Recommended Posts

I have just recently treated myself to a PHP/MySQL book for dummies, but obviously they were aiming for a higher standard of dummies than me, as I'm stuck.

 

I am working on creating a form, which the inputted data being sent to a database (at least, that is the initial plan). I have recreated the example coding in the book, changing it to my data, but I receive an error message - when I look at the author's example, that doesn't appear to be working either!

 

The full error message I got was:

 

Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/fhlinux177/f/further-flight.co.uk/user/htdocs/dummy/createpreview.php on line 11 

 

The sample of my code can be found here:

 

http://www.equinefocus.co.uk/dummy/error.jpg

 

I realise its likely to be a very simple goof, but any help sorting out this problem would be appreciated!

Link to comment
https://forums.phpfreaks.com/topic/54997-parse-error-unexpected-t_string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.