Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2006
    Location
    Leeds
    Posts
    17,006
    Tokens
    26,134
    Habbo
    e5

    Latest Awards:

    Default what does this mean? +19 rep

    I'm trying to add a table for a website, and when I press submit, I get this everytime:

    Error #1064: 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 'font: 7pt/normal "Times New Roman"; font-size-adjust: none; font-stretch: normal' at line 4
    what does this mean, or what do I do?
    Thanks +rep to answers

    moderator alert Moved by efq (Forum Moderator): From "Technology Discussion" as it is better suited here
    Last edited by efq; 08-10-2012 at 04:27 PM.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Post the whole query you're trying to run, something is wrong with it.

  3. #3
    Join Date
    Jun 2004
    Location
    Reading, Berkshire
    Posts
    2,260
    Tokens
    12,202
    Habbo
    :Jin:

    Latest Awards:

    Default

    At a guess inclose your css in string delimiters I am guessing mysql is trying to form a new query at the semicolon which is a query delimiter.


  4. #4
    Join Date
    Oct 2012
    Posts
    16
    Tokens
    0

    Latest Awards:

    Default

    What do u mean? on Forum? or a site.

  5. #5
    Join Date
    Oct 2006
    Posts
    9,905
    Tokens
    26,858
    Habbo
    Zak

    Latest Awards:

    Default

    Wrong SQL Syntax.. try removing the ' ' quotations marks from the situation. As ' ' in SQL denotes a String.

    Edit: Oh and looking at what Jin said, check for the semi-colon at the end!
    Last edited by Zak; 13-10-2012 at 02:04 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •