stuffradio
12-28-2007, 08:29 PM
If you are wanting someone in like half a month or so... say you're interested here so I can get to you on a first come first serve basis.
Here is an example of code:
if ($_GET['do'] == "newthread") {
$title = addslashes($_POST[title]);
$message = addslashes($_POST[message]);
$format = bbcode_format($message);
mysql_query("INSERT INTO `forum_threads` (fid, poster, title, message, lposter, views) VALUES ('$forum_id', '$userinfo[username]', '$title', '$format', '$userinfo[username]', '1')") or die(mysql_error());
mysql_query("UPDATE `forum_child` SET `l_post`='$userinfo[username]' WHERE `id`='$_GET[fid]'");
echo "Thread successfully posted!";
}
I've worked for:
Chickapets
Lodithia
Chibipaws
Sutopets
... and you :D
Here is an example of code:
if ($_GET['do'] == "newthread") {
$title = addslashes($_POST[title]);
$message = addslashes($_POST[message]);
$format = bbcode_format($message);
mysql_query("INSERT INTO `forum_threads` (fid, poster, title, message, lposter, views) VALUES ('$forum_id', '$userinfo[username]', '$title', '$format', '$userinfo[username]', '1')") or die(mysql_error());
mysql_query("UPDATE `forum_child` SET `l_post`='$userinfo[username]' WHERE `id`='$_GET[fid]'");
echo "Thread successfully posted!";
}
I've worked for:
Chickapets
Lodithia
Chibipaws
Sutopets
... and you :D