ok i think im getting this, this seems relitivly easy to me.i just need to know if i connect the script to my users database and do i insert the script into say a profile for profile comments?like copy and paste in this into a profile?
<html>
<forum>
Name:<input type="text" id="name" name="name">
Comment:<input type="text" id="comment" name="comment">
</forum>
</html>
//mysql connect
mysql_connect("server name eg:localhost",mysql my db username", "db password"smilie
mysql_select_db("my db name here"smilie
$name=$_POST[username];
$comment=$_POST[comment];
//Insert script
mysql_query INSERT * INTO
shout("$name","$comment"smilielike that or do i have to do something more i set it to not allow ppl viewing the source to find out my database name and password?
ok, when i put this into a page and uplaoded it it gave me the comment and the name before and then after all this info.//mysql connect
mysql_connect("server name eg:localhost",mysql my db username", "db password"
mysql_select_db("my db name here"
$name=$_POST[username];
$comment=$_POST[comment];
//Insert script
mysql_query INSERT * INTO
shout("$name","$comment"