Posted by: Austin
« on: March 10, 2009, 09:06:23 AM »Yeah, PhiX is roflmao the kid is a hugeee tool.
And yah I posted my Req on SB.nEt
And yah I posted my Req on SB.nEt
I could just give you a copy and you would have to fill out database info.
Here's the PHP file: (This one only draws data from the database, no text file)Code: [Select]<?php
$con = mysql_connect("localhost","username_here","password_here");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("database_here", $con);
$result = mysql_query("SELECT * FROM ibf_members");
while($row = mysql_fetch_array($result))
{
echo $row['name'];
echo "<br />";
}
mysql_close($con);
?>
Make sure to fill in:
username_here
password_here
database_here
If your SQL server is not located on the same server as your website you will have to change it from localhost to something else, but try localhost first.