Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php echo sql result

$sql="SELECT * my_table"

$result = mysql_query($sql);
while($row = mysql_fetch_array($result)) {
    echo $row['fieldname']; 
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #echo #sql #result
ADD COMMENT
Topic
Name
4+6 =