Parse error: syntax error, unexpected T_STRING,

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ROXIT
    New Member
    • Apr 2013
    • 10

    Parse error: syntax error, unexpected T_STRING,

    Anyone please tell me how can I write this statement inside echo...
    its giving me an error......

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\xampp\htdocs \project\Rahul sir\skills\skil ls.php on line 53
    Code:
    echo '<input type="checkbox" value="$cat_tit['category_title']" id="cat_title" />';
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Remove the single quotes around 'category_title '.

    Comment

    Working...