To fetch info from a table, I just use this:
<?php
//Connect to DB, table, etc...
$query="SELECT * FROM messages ORDER BY id DESC;";
$result=mysql_query($sql);
while($fetch = mysql_fetch_array($reult)){
echo $fetch['username'] . " : " . $fetch['message'];
}
ignore them all i havnt used this yet watin till tommorrow when i can copy and paste this to my site.its supposed to get u a chatroom like the replica of dsipaints current chat.links here [a]http://wiiopera
ok.1 all i have is phpmyadmin and ftp and i can insert tables but how do i successfuly insert a table it gives me errors from mysql when inserting any table in phpmyadmin theres an area named sql but thats it.