User Profile

Collapse

Profile Sidebar

Collapse
jaymzlx
jaymzlx
Last Activity: Feb 18 '10, 12:13 PM
Joined: Feb 17 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I put in the var_dump($poll) ; and uncommented that section and it returned NULL.
    That's weird because I have information in that table I am trying to get

    EDIT: Its gotta be something with the line

    Code:
    $poll = $_GET['poll'];
    that is goofing up the code.
    See more | Go to post

    Leave a comment:


  • jaymzlx
    started a topic mysql error: You have an error in your SQL syntax;
    in PHP

    mysql error: You have an error in your SQL syntax;

    My old problem is solved, but im running into a new error. I figured I would start a new topic, sorry if this was incorrect to do.

    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 'AND A.ID = P.ID' at line 4

    Code:
    <?php
    /* Display a vote form. */
    require_once("vote_config.php");
    $poll
    ...
    See more | Go to post
    Last edited by Atli; Feb 18 '10, 11:03 AM. Reason: Added [code] tags around the last few snippets.

  • jaymzlx
    replied to unexpected T_VARIABLE
    in PHP
    Hey thanks for the heads up. I was so tired and could not figure it out. Worked like a charm!
    See more | Go to post

    Leave a comment:


  • jaymzlx
    started a topic unexpected T_VARIABLE
    in PHP

    unexpected T_VARIABLE

    Heyas,

    I'm relatively new to php, and I have no clue as to where I have the syntax error in my php file. Wondering of you guys can help me out. Thanks!

    Parse error: syntax error, unexpected T_VARIABLE in /home/ruckusin/public_html/projects/vote_form.php on line 35

    Code:
    <?php
    // Displays voting form
    require_once("vote_config.php");
    $poll = $_GET['hockeypoll'];
    ...
    See more | Go to post
No activity results to display
Show More
Working...