RE: Session on PHP with MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I have some confusing about my script, this is story
> 
> I  have  login  page,  and then the user got current page with various
> menu,  but  when user click one of menu, its has error mesage, here my
> script
> 
> <html>
> <p align = "center">
> <?
> //require "setup.php";
> require "common.php";
> include "setup.php";
> global $action;
> banner_login();
> 
> $sql = "select user_name from iduser where user_name='$name' and " ;
>         $sql =  $sql .  " user_pass = '$password' " ;

Where are $name and $password coming from? They probably have no value.



---John W. Holmes...

PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux