Ok, i am trying to make a page, where it shows all the members stats. "names"
and i can get it to show 6, witch is how many members i have i want it to echo there names with a <br /> after each one...
Heres what i got, but like i said it shows a number not the actual text "breana"
[PHP]<?
$sql = "select login from users where userid = $uid";
$totalcount = mysql_num_rows( $result);
?>[/PHP]
And it is displayed with:
[PHP]<?php print("$totalco unt"); ?>[/PHP]
Witch works much better i found out, then a page full of code lol.
and i can get it to show 6, witch is how many members i have i want it to echo there names with a <br /> after each one...
Heres what i got, but like i said it shows a number not the actual text "breana"
[PHP]<?
$sql = "select login from users where userid = $uid";
$totalcount = mysql_num_rows( $result);
?>[/PHP]
And it is displayed with:
[PHP]<?php print("$totalco unt"); ?>[/PHP]
Witch works much better i found out, then a page full of code lol.
Comment