Displaying more than one result
For this i will be using the rmb members system so here we go.
PHP Code
<?php
session_start();
include "config.php";
$fetch = mysql_query(SELECT * FROM `members` ORDER BY `username` ASC);
while ($array = mysql_fetch_array($fetch)
{
echo ("- $array[username]<br>");
)
thats the whole code.
PHP Code
while ($array = mysql_fetch_array($fetch)
{
echo ("- $array[username]<br>");
)
This part loops the query so instead of displaying 1 result it will keep looping until it gets all the results
Thats it for my tutorial check out for more by me soon. Including the User System forum add-on