Hey!I can't remember the last time I started a topic in the PHP forum here now, but anyways;If I do this: (over doctype)
<?phpsession_start();mysql_connect("localhost", "username", "password");mysql_select_db("my_db");?>
And in ... body I would do this:
<?phpecho 'This is all of our members<br /><br />';while($row = mysql_fetch_array(mysql_query("SELECT * FROM table WHERE language = 'english' ORDER BY id DESC LIMIT 12))) {echo $row['username'];echo '<br />';}?>
Would this work? If you don't understand;I do the connection in the start of the page, and then I select from tables some random places in the body just to limit the connections? In example I really have to do ... 20 connections, but can this be limited to 1 by doing this?Thanks in advance!