Jump to content

Search the Community

Showing results for tags 'using a nickname and email to'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. hey guys, long time no see, im having a problem using a nickname or a email to log into a website i have everything layout but its not working im not sure what im doing wrong thats why i came here for a few pointers or tip this is what my query looks like $log = "SELECT * FROM members WHERE nick='$username' OR email='$username' AND password='$password'"; and this is what the html code looks like <form action="" method="post">Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" name="submitt" value="Login" /></form> what i was planning is when you enter either a email or username it still logs you in as long as the information is within the database but so far im only being able to use the username only
×
×
  • Create New...