For my new project i want the so modern approach of not needing to reload a page on every database request. :) I want the script to query the database and create a table wit
You should just use $value instead of {$value}. You don't need another foreach loop inside the while loop.
$output_string = '';
$output_string .= '';
while($row = mysql_fetch_assoc($facebook))
{
$output_string .= '';
$output_string .= ''.$row['Your table column name here'].' ';
$output_string .= ' ';
}
$output_string .= '
';