• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Php/html tell me what i am doing wrong

Status
Not open for further replies.
Experienced Elementalist
Joined
Oct 14, 2009
Messages
236
Reaction score
18
Code:
<!-- InstanceBegin template="/Templates/projtempphp.dwt.php" codeOutsideHTMLIsLocked="false" --><!doctype html><head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Emeka Evulukwu Page</title>

<!-- InstanceEndEditable -->

<link href="projsitestyle.css" rel="stylesheet" type="text/css">
<style type="text/css">
#sidepic {
	margin-top: -73px;
	width: 400px;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
}
</style>


<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script>

<script src="http://use.edgefonts.net/aladin:n4:default;allura:n4:default.js" type="text/javascript"></script>
</head>


<header class="head" id="containerhead">Management Info. Sys 4530 
Emeka Evulukwu
</header>
<!-- InstanceBeginEditable name="EditRegion3" -->
<section class="section2" id="section2">Project 5</section>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="Mbox" -->
<section class="middlebox" id="mbox">
<h1> Hit Counter</h1>
[PHP]<?php
require_once('HitCounter.php');
if (class_exists('Countvisit')) {
			$Count = new Countvisit();
		}
		else
			exit("<p>The Countvisit class is not available!</p>");
		$Count->hits();
?>[/PHP]
<FORM>
<INPUT TYPE="button" onClick="history.go(0)" VALUE="Refresh">
</FORM>
</section>

<!-- InstanceEndEditable -->
<footer>
      <a href="http://www.eiu-mis.net/">BackToClassServer</a> | <a href="index.html">HomePage</a> | <a href="http://www.eiu.edu">EIU</a><br />
        Copyrighted © Emeka Production 2014.<br />
        All Rights reseved.
    
</footer>

<!-- InstanceEnd --></html>
Thats my Code now this is what its showing
USX0jrh - Php/html tell me what i am doing wrong - RaGEZONE Forums
its repeating itself in the box how do i make it not repeat
 
Joined
Aug 14, 2009
Messages
1,097
Reaction score
134
Code:
<!-- InstanceBegin template="/Templates/projtempphp.dwt.php" codeOutsideHTMLIsLocked="false" --><!doctype html><head>
<meta charset="utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>Emeka Evulukwu Page</title>

<!-- InstanceEndEditable -->

<link href="http://forum.ragezone.com/projsitestyle.css" rel="stylesheet" type="text/css">
<style type="text/css">
#sidepic {
	margin-top: -73px;
	width: 400px;
	position: absolute;
	margin-left: auto;
	margin-right: auto;
}
</style>


<!--The following script tag downloads a font from the Adobe Edge Web Fonts server for use within the web page. We recommend that you do not modify it.--><script>var __adobewebfontsappname__="dreamweaver"</script>

<script src="http://use.edgefonts.net/aladin:n4:default;allura:n4:default.js" type="text/javascript"></script>
</head>


<header class="head" id="containerhead">Management Info. Sys 4530 
Emeka Evulukwu
</header>
<!-- InstanceBeginEditable name="EditRegion3" -->
<section class="section2" id="section2">Project 5</section>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="Mbox" -->
<section class="middlebox" id="mbox">
<h1> Hit Counter</h1>
<?php
require_once('HitCounter.php');
if (class_exists('Countvisit')) {
			$Count = new Countvisit();
		}
		else
			exit("<p>The Countvisit class is not available!</p>");
		$Count->hits();
?>
<FORM>
<INPUT TYPE="button" onClick="history.go(0)" VALUE="Refresh">
</FORM>
</section>

<!-- InstanceEndEditable -->
<footer>
      <a onclick="ga('send', 'event', 'Outgoing', 'www.eiu-mis.net', '/');" rel="nofollow" href="http://www.eiu-mis.net/">BackToClassServer</a> | <a href="index.html">HomePage</a> | <a onclick="ga('send', 'event', 'Outgoing', 'www.eiu.edu', '');" rel="nofollow" href="http://www.eiu.edu">EIU</a><br />
        Copyrighted © Emeka Production 2014.<br />
        All Rights reseved.
    
</footer>

<!-- InstanceEnd --></html>

Here are my suggestions:
You should post your HitCounter.php code too, or at least check it over.
Code:
©
instead of ©, please.
 
Status
Not open for further replies.
Back
Top