Hi all...:-)
Finally got it working, thanks a lot for your tips that sent me on the right direction!
Anyways, I'll be posting the correct code below in just a sec, but before I wanted to add that this is a problem that you will encounter from php 4.2 and up and if you are new-comer to the MySQL/PHP/Linux family (like me) I can imagine how frustrating it is to go through a thousand php websites telling you how to do something, you try it 20 slighlty different ways but IT STILL DOESN"T WORK. Anyways, I hope this helps out a lot of newbies...
Here is the site that finally did it for me if you want to check out the WHY (you DEFINITLEY must!) this works in this manner in the new versions...
http://www.sitepoint.com/article/758/2
And here is the winning piece of code:
<?
$DBhost = "localhost";
$DBuser = "root";
$DBpass = "";
$DBName = "mydb";
$table = "information";
$id = $_REQUEST['id'];
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$opinion = $_REQUEST['opinion'];
$PHP_SELF = $_SERVER['PHP_SELF'];
mysql_connect($DBhost,$DBuser,$DBpass) or die("Unable to connect to database");
@mysql_select_db("$DBName") or die("Unable to select
database $DBName");
/* $sqlquery = "INSERT INTO $_POST[$table] VALUES('$_POST[$id]','$_POST[$name]','$_POST[$email]','$_POST[$opin
ion]')"; */
$sqlquery = "INSERT INTO $table
VALUES('$id','$name','$email','$opinion')";
$results = mysql_query($sqlquery);
mysql_close();
print "<HTML><TITLE> PHP and MySQL </TITLE><BODY
BGCOLOR=\"#FFFFFF\"><center><table border=\"0\"
width=\"500\"><tr><td>";
print "<p><font face=\"verdana\" size=\"+0\"> <center>You
Just Entered This Information Into the
Database<p><blockquote>";
print "Name : $name<p>E-Mail : $email<p>Opinion :
$opinion</blockquote></td></tr></table>
</center></BODY></HTML>";
?>
As you can see, the only change was the declaration of the variables in another manner...and that did it.
Cheers,
vous.
PS: Thanks to morlock and no2nt for your tips!!