You are here: select into statement not working..help pls « PHP Programming Language « IT news, forums, messages
select into statement not working..help pls

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация