Jump to content

asdfghjkl

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Posts posted by asdfghjkl

  1. ......
    mysql_connect (localhost , $username ) or die ( mysql_error()) ;
    mysql_select_db ( $database) or die (mysql_error()) ;
    $query =mysql_query( "select *from $tbl where username='$username1' and password='$password' ");
    if ( !$query )
    {
    echo " I am closing the connection " ;
    exit ;
    }
    else
    {
    mysql_fetch_array($query) ;
    echo "Welcome" ;
    }

    i am connected to the database have the username and password signed ,
    builded the mysql_query and now i am trying to if the username and password are not correct then destroy
    , otherwise print "Welcome "
    will you guide me ?
  2. "To log them in make a form that asks for username and password then take the posted data and make a query string something like this:"
    this is with the "select" wich i know already , what about insert into table values can you tell me about that
    ?
  3. hello there , i am a novice programer . I want to make a web page wich is subscribing the users after they've registered them selfs in mysql . ! If noone is understanding the one above then i want to tell to
    mysql to remember who was registered by signing him automatically in database table like "users" . But i don't know how to do it . Please tell me "how to" do it . [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]
  4. Hello i am searching for something for my site but i want smtng realy cool and my question is can i program some kind of artificial inteligent without need to define every action it is executing i mean some of them to be random or something . Can i put all functions defined in php into one variable or somtng and use them them all in one? if can't then tell where to look for something like that .
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.