1.

Solve : Help with Forum Creating in php?

Answer»

OK, IM trying to create a forum that you will expect to find on online GAMES, like www.downtown-mafia.com and www.massive-mafia.com etc. etc.

but as i put it all TOGETHER, it SAYS:

Parse error: parse error in /data/members/free/tripod/nl/n/m/1/nm10/htdocs/forum.php on line 22



CODE: [Select]<?php/*-------------------------*/

$UPDATE_DB=1;
$OMNILOG=1;
$banner="no";
include("_include-config.php");
if(!check_login()){
header("Location:login.php");
exit;
}

/*-------------------------*/?>
<html>

<head>
<link REL="stylesheet" TYPE="text/css" HREF="css-v3.css">
<title>World Crime</title>
</head>

<?php

<framesetcols="350"framespacing="0"frameborder="no"border="0">
<framesrc="playermess.php?m={$_GET['m']}"name="gfTopics">
<framesrc="playermessa.php?id={$_GET['m']}&m={$_GET['m']}"name="gfView\">
</frameset>";

?>
<body>
</body>




</html>


Can anyone help?

Code: [Select]<?php

<framesetcols="350"framespacing="0"frameborder="no"border="0">
<framesrc="playermess.php?m={$_GET['m']}"name="gfTopics">
<framesrc="playermessa.php?id={$_GET['m']}&m={$_GET['m']}"name="gfView\">
</frameset>";

?>
Here is the problem
Code: [Select]<?php[highlight]echo"[/highlight]

<framesetcols="350"framespacing="0"frameborder="no"border="0">
<framesrc="playermess.php?m={$_GET['m']}"name="gfTopics">
<framesrc="playermessa.php?id={$_GET['m']}&m={$_GET['m']}"name="gfView\">
</frameset>[highlight]";[/highlight]

?>

You closed your echo tag but the tag itself is not open.Ahh, my bad i guess

thanks for the help 8-)



Discussion

No Comment Found