www.webdeveloper.com
Results 1 to 3 of 3

Thread: MySql T_DNUMBER - I Have No Idea What I'm Doing

  1. #1
    Join Date
    Jun 2011
    Posts
    1

    MySql T_DNUMBER - I Have No Idea What I'm Doing

    I keep getting this error Parse error: syntax error, unexpected T_DNUMBER in /home/a5761508/public_html/require.inc.php on line 8

    I basically need someone that can help me rewrite the whole thing

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,225
    Looks like a PHP error, not MySQL. T_DNUMBER is a PHP token name for a floating point number. You need to look at your require.inc.php file at or before line #8 to find out what's wrong/missing, such that the parser is finding a floating point number (e.g. "1.23") when it's not expecting to see one.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Jul 2010
    Location
    /ramdisk/
    Posts
    865
    Quote Originally Posted by NogDog View Post
    Looks like a PHP error, not MySQL. T_DNUMBER is a PHP token name for a floating point number. You need to look at your require.inc.php file at or before line #8 to find out what's wrong/missing, such that the parser is finding a floating point number (e.g. "1.23") when it's not expecting to see one.
    That would be a much more helpful error message than

    Parse error: syntax error, unexpected T_DNUMBER in /home/a5761508/public_html/require.inc.php on line 8
    If only there was a

    PHP Code:
    ini_set(display_errorsE_NOGDOG_STYLE); 
    it would make x_debug obsolete. (maybe not).

    Cheers
    I use (, ; : -) as I please- instead of learning the English language specification: I decided to learn Scheme and Java;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles