hi guys, i am doing some examples from a book, and i can't work out when they say this
@ $db = mysql_connect('localhost','root','');
mysql_select_db('users');
@ $query = "select from login where user=$user and pass=password('$pass');
the first thing i don't get is what does the sign @...
guys i think the problem here is that, you get "Array" when try to
print_r[$_POST]
that means the data in their is an array, that's what i came up to few days ago and couldn't work out what to do, so i did this and worked perfectly... try it
i specified the varibles like this
put...
make a db called login and a table in it called users add two fields, one name and second pass, add your users in there, don't forget to use the function password for your pass field.....
index.php
<?php
session_start();
//starts the session
if (isset($HTTP_POST_VARS['userid']) &&...
hello guys,
chech this one out it will do a lot if you are making an authorized area.....
befor you write this make a table or a seprate database if you like in mysql...
call it what you like, i have called in this example the databse login and the table usercheck
make the table with two...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.