asdfghjkl
-
Posts
11 -
Joined
-
Last visited
Never
Posts posted by asdfghjkl
-
-
what you're talking about
-
......
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 ? -
i've just tryed that and nothing happened , i don't know why i receive only a blank page . are the slashes
allways neccesary ? -
"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
?
-
yeah , but "how to" do it ?
-
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\" /]
-
Thank you man you've encourage me saying it's possible . Thank you x 3
Btw do you know good books written on the subject. -
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 .
-
i was thinking about that and i'll do it soon or later
-
how to put angle in something you see i want to place my index menu on 45 degree angle how i can do that?
how to login a user after he is registered
in PHP Coding Help
Posted
i think that you are the one who got to make it clear . What you are talking about ?