You probibly have something like this in your code
$result = mysql_query("INSERT INTO table VALUES 'value'");
echo $result;
Well that just isn't going to work. When you insert data you will get an empty result back, since the database is not giving any data back.
If you want to get a result:
$result = mysql_query("SELECT something FROM table");
while( $row = mysql_fetch_row($result))
{
print_r($row);
}
What i Just did:
1 query the database for some data. (mysql_query gives you a result identifier, meaning you can use a funtion on that result)
2 Convert the data i got to an array
3 looping over the result array and printing it.