Results 1 to 19 of 19

Thread: [RESOLVED] Fatal error: Function name must be a string in

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Resolved [RESOLVED] Fatal error: Function name must be a string in

    Hi I am trying to figure out how some code works but unfortunately the original code was poorly formatted
    PHP Code:
    $q "select password from users where username = '$username'";

       
    $result mysql_query($q,$conn);

       if(!
    $result(mysql_numrows($result) < 1)){  // Affected line

          
    return 1//Indicates username failure

       

    Would be glad to find out whats wrong and a possible work around.
    Last edited by tendemo; Mar 31st, 2015 at 01:56 PM.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width