SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict sleepingdanny's Avatar
    Join Date
    Oct 2002
    Location
    Israel
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help => Script Not Working

    PHP Code:
    <?
    function emptyform(){
    if(
    $username=="" || $password==""){
    print 
    "You Have To Write Both Of Your Username And Password!<br><br>";}
    }
    ?>
    How do I write...
    <input type="submit" value="Login" onClick="emptyform()"> Or
    how ??

  2. #2
    SitePoint Addict sleepingdanny's Avatar
    Join Date
    Oct 2002
    Location
    Israel
    Posts
    270
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry wrong board!!!


Bookmarks

Posting Permissions

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