Forum Moderators: coopster

Message Too Old, No Replies

Newbie question... Parse Error on form submit

         

drunkenmonkey79

7:39 pm on Nov 28, 2004 (gmt 0)

10+ Year Member



I just started getting into programming with PHP and Im trying out a few tutorials. I am getting the following error upon submitting my form:

Parse error: parse error, unexpected $ in /homepages/14/d99392230/htdocs/tickets/handle_form.php on line 29

I tried decreasing the error reporting by using the following:

<?php # config.inc - sets error reporting level to lowest

error_reporting (E_ERROR);

?>

But that did not help the situation either. Do you think it has something to do with what version of PHP my server is using?

Any input would be appreciated, thanks!

[edited by: jatar_k at 2:57 am (utc) on Nov. 29, 2004]
[edit reason] removed personal url [/edit]

jatar_k

2:59 am on Nov 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld drunkenmonkey79,

it is just a syntax error what code is located on line 29? and possibly the line before as well.

If you turn error reporting down it just means it won't tell you the error, it won't help fix the error itself.