Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Help with Forum Creating in php  (Read 3293 times)

0 Members and 1 Guest are viewing this topic.

Useless

  • Guest
Help with Forum Creating in php
« on: December 17, 2006, 07:01:10 AM »
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

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

?>

<body>
</body>




</html>



Can anyone help?

« Last Edit: December 17, 2006, 07:01:56 AM by Useless »

fffreak



    Adviser

  • That's right I am a final fantasy freak.
  • Thanked: 3
    • Yes
    • JSPCRepair
  • Certifications: List
  • Experience: Guru
  • OS: Windows 7
Re: Help with Forum Creating in php
« Reply #1 on: December 18, 2006, 10:36:03 PM »
Code: [Select]
<?php

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

?>

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

      <frameset cols="
350" framespacing="0" frameborder="no" border="0">
            <frame src="
playermess.php?m={$_GET['m']}" name="gfTopics">
            <frame src="
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.
« Last Edit: December 18, 2006, 10:38:04 PM by fffreak »
Computers are the future, not us. Learn everything you can about them while you still can, soon they will be learning about us... Every bit of advice that I give you is best guess, it is your choice whether or not you listen to it.

Useless

  • Guest
Re: Help with Forum Creating in php
« Reply #2 on: December 19, 2006, 09:07:23 AM »
Ahh, my bad i guess

thanks for the help  8-)