K back to the topic man... so If i'm reading your first post right... your looking to make a small type of hosting service... You will probably need a CMS (Content Management System)
A content management system is a cool thing where the user can edit things and instantly they turn into gold *or happen*... I don't know how todo this yet... but If you could just fill in a little more info on what type of features with the hosting service I might be able to provide some helpful advice...
If your looking on how to do the username edit stuff I think I have a way...
Code:
<?php
$Username_Input == $_POST['Username'];
$con = mysql_connect("localhost","#######","########");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("my_db", $con);
//Fill in your database name,
$result = mysql_query("SELECT * FROM users
WHERE Username='$Username_Input'");
//Select FROM Table
while($row = mysql_fetch_array($result))
{
if($row['Username']==$Username_Input){
echo "This Username has been taken...";
}else{
echo "Free to be taken";
echo "<br />";
}
}
?>
I haven't tested it... I don't know how to do it as the user types, I bet thats Ajax and Javascript *which I haven't touched because of Accessibility issues...* but that should help...
If you want to get a login script I just figured out how to do that as well...
And its actually quite easy...
-----------------------------
The fuss...
Hope this helps man... and keep it cool... djr33 I'm not blaming you, but the way I read it I thought someone hacked into your account... things have changed around here man... Lighten up just a little bit... I too find my self having trouble making good thread titles... I haven't gotten squashed for it yet, but I feel like I am on the edge of it...
Put a couple of examples of acceptable thread titles if you feel that no one gets it... because sometimes everyone needs an example...
Bookmarks