Posted by shotokan99 on 05/21/07 07:05
hi,
what is wrong with my statement why it is not working:
$sel="select username,password into '$user','$pass'
from mytable where email = '$p' ";
mysql_query($sel) or die ('error: cannot perform query');
echo $user.' '.$pass;
my objective is to assign values to the local variables taking from
the table. what is the proper way to do it?
Navigation:
[Reply to this message]
|