Jump to content


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


include error

Recommended Posts

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]I have a php form handler in the same file as the form ie)

<?php form handler ?>
<html form /html>

I would like to pull the form handler out and put it in its own file, then include it in the form.

So, I did this:[/quote]

[code]<?php include('submission-formhandler.php')>
<meta yadayada>
<title>My Form for Submission</title>[/code]
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]This gave me the following error:

[b]Parse error[/b]: parse error, unexpected'<'in[b]/home/russia5/public_html/submission-english1.php [/b]on line [b]5[/b]
<html> is on line [b]5[/b].

Can anyone tell me what I am doing wrong?[/quote]

Share this post

Link to post
Share on other sites


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.