Jump to content

Simple Error?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Nitesh

Nitesh

    Newbie

  • Members
  • Pip
  • 2 posts
This code is straight from the QCodo manual, http://qcodo.kri-sof..._manual_v05.pdf.
<?php

<html>

<head>

	<title>Our First QCodo Sample </title>

</head>

<body>


	<?php $this->RenderBegin(); ?>

	<?php $this->RenderEnd(); ?>

	

</body>

</html>


The error I'm getting is at the first <html> tag. It's saying that there is "no start tag <html>" and "no start tag <body>" as well as "invalid location of tag <body>". I'm using Eclipse for PHP developers, build ID: 20100218-1602. I'm pretty sure this is a set up error on my part.

#2
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
just remove the php tag at the top and everything should be fine.

#3
Nitesh

Nitesh

    Newbie

  • Members
  • Pip
  • 2 posts
As you can tell, I'm new here. Thanks that helped.

#4
toxifyshadow

toxifyshadow

    Programmer

  • Members
  • PipPipPipPip
  • 125 posts
Also save your file as a .php

EDIT: Oh, I guess you know that if you are using eclipse for php developers.