Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1077297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:33:15+00:00 2026-05-16T21:33:15+00:00

I am having an issue with a simple form uploading script. On this upload

  • 0

I am having an issue with a simple form uploading script.

On this upload script I built to upload data to a MySql database, I can’t seem to get the record to insert into the database when I include this one variable.

I figured that perhaps I am overlooking some minor coding issue, and I’m working on a deadline to get this system live…

Here is the code snippit that is giving me issues.

    $title=$_REQUEST['title'];
$author=$_REQUEST['author'];
$hours=$_REQUEST['hours'];
$start_d=$_REQUEST['start_d'];
$start_m=$_REQUEST['start_m'];
$start_y=$_REQUEST['start_y'];
$end_d=$_REQUEST['end_d'];
$end_m=$_REQUEST['end_m'];
$end_y=$_REQUEST['end_y'];
$certificate=$_REQUEST['certificate'];
$required=$_REQUEST['required'];
$assessment=$_REQUEST['assessment'];
$describe=$_REQUEST['description'];
$query=mysql_query("INSERT INTO `records` (title, hours, start_date_d, start_date_m, start_date_y , end_date_d, end_date_m, end_date_y , certificate, requirement, author, approved, assessment, describe)  VALUES ('$title', '$hours', '$start_d', '$start_m', '$start_y', '$end_d', '$end_m', '$end_y', '$certificate', '$required', '$author', '0', '$assessment', '$describe')");

mysql_close();

The variable that is giving me issues is the one denoted as ‘$describe’.

My previous testing has indicated:

  • The form script is collecting data correctly
  • The form script is passing the data to the upload script correctly via method=’post’
  • The database connection information is correct
  • All of the field names in the mysql query are typed correctly

Thank you in advance for your help.

Update:

echo mysql_error(); => “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ assessment, describe) VALUES’ at line 1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T21:33:15+00:00Added an answer on May 16, 2026 at 9:33 pm

    It turns out that “Describe” is a reserved word in MySql.

    I changed the field name, and now my script works…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 533k
  • Answers 533k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This earlier answer shows you how to get the month… May 17, 2026 at 12:24 am
  • Editorial Team
    Editorial Team added an answer Having separate classes for your POCOs and your Contracts will… May 17, 2026 at 12:24 am
  • Editorial Team
    Editorial Team added an answer The primary keys for the event_person tables are not equivalent… May 17, 2026 at 12:24 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm having an issue with a simple PHP mailer. I've had this script working,
I have this simple form that is having some CSS issues when the field
I am having this issue and I am hoping that it is so simple
I'm having a problem with a simple form where i'm attempting to fire an
I'm creating a pretty simple form, and I'm running into an issue with Controls/components
I am having a confusing issue -- for me at least, this may be
Hi All I am currently having an issue calling a WCF service from a
I am having trouble doing something that is probably pretty simple! I have a
I've created a simple contact form using the modelformset_factory to build the form in
I'm having an issue referencing public procedures of User Controls that I've created within

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.