Menu

Form connection to the category

Help
report111
2010-07-30
2013-06-03
  • report111

    report111 - 2010-07-30

    Hi, I have already established everything on my web page and database but, I don't know how to describe the content from the form to some categories on a page. I have 7 categories and I would like, that when someone will fill the form and click the button would read his opinion at my page in the definite category. FormGenerator gives a definite number of files. In which should I write it and what? Sorry for my English.

     
  • TNTEverett

    TNTEverett - 2010-07-30

    I may be able to help but I am having trouble understanding exactly what you are looking to do.  Can you try to describe it again in more detail.  Sometimes it helps to write it in your own language then use an online translator to convert to english (might be worth a try).

     
  • report111

    report111 - 2010-07-30

    Ok :)  The idea is, to enable you to judge the other web pages from some point of view. To do it, you need a form, so, I generated form and placed it on my page. The form contains: name of a portal, category ( to choose), description and 3 points to choose, like: good, bad and whatever. Then, you put the button and sent your opinion to my web page. I made MySQL database and in form I placed names of the host, database but I did't know what to place in the line: table.

    So, I have 2 main files: index.htm and form.html (to which goes: CaptchaSecurityImages.php, processor.php and style.css, all generated by FormGenerator)

    I don't know how how to change these files to make the form practical. When I fill the form and click the button , it shows:
    Parse error: syntax error, unexpected ';' in /home/a5707099/public_html/processor.php on line 32
    what means: ?>
    or
    Parse error: syntax error, unexpected ';' in /home/a5707099/public_html/processor.php on line 7
    what means: include("config.inc.php");

    I only need to able the option to read the content of the filled form in the definite category.
    In the form, you can choose the category, which is in index.htm. So, if you will click a first category, you should be able to read opinions of others about a different kind of web pages, referring to this category.

     
  • TNTEverett

    TNTEverett - 2010-08-03

    OK, sorry for taking so long to get back to this. 
    I am still a little confused about how you use the form but lets get started by fixing the syntax errors.  If you still have this issue, send me an email with the processor.php file as an attachment, and a link to your form (form.html as an attachment if the form is not live). 

     
  • report111

    report111 - 2010-08-03

    Hi! Thanks for the answer. Please give me your email address, because this server rejects the message: 505 unknown user.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.