Link to home
Start Free TrialLog in
Avatar of eladr
eladr

asked on

retreiving data from db

hi...
how can i retrieve data.
im using mysql/php:
<?
$sql="select * from user where id=7";
$databasename="appscan";
$tablename="user";
mysql_connect("haag","elad");
$result=mysql_query($sql);

?>
now...
how can i print the field value that
is from the query result?

how can i loop over the table, if i want
to retrive all info?

sorry...completely new...
im using ASP most of the time...
elad
ASKER CERTIFIED SOLUTION
Avatar of RHJennings
RHJennings

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial