thumbelina
Programmer
<?php $crap = mysql_connect("localhost","username","password"
mysql_select_db("database",$crap);
$query = "SELECT coloum FROM table";
$result = mysql_query($query, $crap);
while($row = mysql_fetch_array($result)){
print($row["name"]);
}?>
ok this is what the book said to do it should take the info out of the table put it in an array and just print out the results but it doesn't seem to work. my problem i think is that i don't know what the mean but ["name"] in the last line. anythoughts?
mysql_select_db("database",$crap);
$query = "SELECT coloum FROM table";
$result = mysql_query($query, $crap);
while($row = mysql_fetch_array($result)){
print($row["name"]);
}?>
ok this is what the book said to do it should take the info out of the table put it in an array and just print out the results but it doesn't seem to work. my problem i think is that i don't know what the mean but ["name"] in the last line. anythoughts?