User Profile

Collapse

Profile Sidebar

Collapse
drgnhiker
drgnhiker
Last Activity: Feb 12 '10, 01:41 AM
Joined: Jan 29 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • drgnhiker
    replied to parse error expecting "(" in line 93
    in PHP
    Oh my gosh.......spac e removed....repl aced a missing comma and all is fine in the world.....Thank s you so much
    See more | Go to post

    Leave a comment:


  • drgnhiker
    started a topic parse error expecting "(" in line 93
    in PHP

    parse error expecting "(" in line 93

    And I seem to be missing the error...can't find it and the statements in one section duplicate other sections with no error....any help would be greatly appreciated: the following is the entire code...(Yes I know it is from a book but I got to learn it all from someplace :).....thanks in advance for any and all help and advice.
    Code:
    <?php
    $db = mysql_connect('localhost', 'bp6am', '*****') or
        die ('Unable to connect.
    ...
    See more | Go to post
    Last edited by Atli; Feb 12 '10, 03:56 PM. Reason: Removed the MySQL password from the code.

  • drgnhiker
    replied to help with T_IF error
    in PHP
    thought about that after I posted...thanks
    See more | Go to post

    Leave a comment:


  • drgnhiker
    replied to help with T_IF error
    in PHP
    OMG!!! what a little thing....I have taught myself to make sure everything is inside <> and then I added one too many when not needed......cod e works perfect now. Yes there is more to it and it closes itself. Thanks for the feedback. And I am going to watch much more closely. Thanks again
    See more | Go to post

    Leave a comment:


  • drgnhiker
    started a topic help with T_IF error
    in PHP

    help with T_IF error

    I have checked this stuff six ways from Sunday and can not find an error....can anyone help? My error message is this:
    Parse error: syntax error, unexpected T_IF in C:\Program Files (x86)\Apache Software Foundation\Apac he2.2\htdocs\mo viesite.php on line 14


    Code:
    <?php
    session_start();
    
    //check to see if user has logged in with a valid password
    if ($_SESSION['authuser'] != 1) {
        echo
    ...
    See more | Go to post
    Last edited by Dormilich; Jan 30 '10, 09:27 AM. Reason: please use [code] tags when posting code
No activity results to display
Show More
Working...