<?php
$mysql_host = "***";
$mysql_database = "***";
$mysql_user = "***";
$mysql_password = "***";
mysql_connect($mysql_host,$mysql_user,$mysql_password);
mysql_select_db($mysql_database);
$query = "SELECT * FROM people coming";
$result = mysql_query($query);
while($w=mysql_fetch_array($result)) {
echo $w['Name'];
}
?>
this doesnt work--Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
y?