how to fetch field value from table in php

## How to fetch a field value from database in php


$r = mysql_query("select field_name from table_name");

$value =@mysql_result($r,0,"field_name);

Leave a Reply

Your email address will not be published. Required fields are marked *