Jump to content


Mate?


2 replies to this topic

#1 antidream

    Young Padawan

  • Members
  • Pip
  • 43 posts

Posted 21 July 2005 - 12:44 AM

Offensive language removed by: Donna

I don't understand what I did wrong...

<!DOCTYPE html PUBLIC

"-//W3C//DTD XHTML 1.1//EN"

"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >


<head>

<title>Introduction to CSS Layouts</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<link rel="stylesheet" type="text/css" href="main.css" />

</head>

<body>

<!--Layout Holder-->

<div id="container">

<!--Layout Banner-->

<div id="banner">

<img src='banner.jpg' usemap='#banner' border='0'>

</div><br>

<!--Left-side Navigation-->

<div id="left">



 <!--Biography-->



<div class="bio">

<div class="leftheading">Self Description.</div>

<b>Dustin. 15.</b> black hair. hazel eyes. 6'0. white. male. semi-grown mustache. shy. foward. cynical. non-popular. 

heterosexual. graphical. gamer. unique. luv computers. luv music. artistic. friendly. smart. hate school. reads xmen books. 

watches tv. plays with dogs. lives in alabama. has a little texan accent. treats the ladies right.<br><br>

</div>



<!--Links Div-->



<div class="links">

<div class="leftheading">Inspiration.</div>

<a href='http://protix.net' target='_new'>Protix</a><br>

<a href='http://infnit.deviantart.com' target='_new'>Infnit</a><br>

<a href='http://andreasonontheweb.com' target='_new'>AOTW</a><br>

<a href='http://oceanic-eyes.net' target='_new'>Oceanic Eyes</a><br>

<a href='http://7-days.net' target='_new'>7 Days</a><br>

<a href='http://phirebrush.com' target='_new'>Phirebrush</a><br><br>

</div>



<!--Music Choices Div-->



<div class="music">

<div class="leftheading">Music Choice.</div>

Seether<br>

System of a Down<br>

Linkin Park<br>

RATM<br>

Simple Plan<br>

SLOTH<br>

The Killers<br><br>

</div>



<!--Games Div-->



<div class="games">

<div class="leftheading">Xbox Ownage.</div>

Halo 2<br>

Ghost Recon 1<br>

Spy Hunter 2<br>

Prince of Persia: SOT<br>

PGR 2<br>

Madden 2005<br>

LOTR: ROTK<br>

Counter-Strike<br>

Mercenaries

<br><br>

</div>



<!--Awesome Sites Div-->



<div class="sites">

<div class="leftheading">Awesome Sites.</div>

<a href='http://pixel2life.com' target='_new'>Pixel2Life</a><br>

<a href='http://gamespot.com' target='_new'>Gamespot</a><br>

<a href='http://gametrailers.com' target='_new'>Gametrailers</a><br>

<a href='http://joystiq.com' target='_new'>Joystiq</a><br>

<a href='http://newgrounds.com' target='_new'>Newgrounds</a><br>

<a href='http://www.ferryhalim.com/orisinal/' target='_new'>Orisinal</a><br>

<a href='http://sxc.hu' target='_new'>Stock Xchng</a><br>

<a href='http://ebaumsworld.com' target='_new'>Ebaums World</a><br>

<a href='http://entensity.net' target='_new'>Entensity</a><br>

</div>

<!--End Left Navigation-->

</div>



<!--Content Div-->

<div id="right">

<div class="content">

<?php switch ($HTTP_GET_VARS[p])


//Default - case

case 'blog':

default:

include 'cutenews/show_news.php';

break;


//Portfolio - case

case 'portfolio':

include 'portfolio.php';

break;

}

//Guestbook - case

case 'guestbook':

include 'guestbook.php';

break;

//Funnies - case

case 'funnies':

include 'funnies.php';

break;

?>

</div>

</div>



<div style="clear: both;"> </div>

</div>



<map id="banner" name="banner">

<area shape="rect"#LINK!

 coords="371,0,499,39" href="index.php?p=blog" title="BLOG!" />

<area shape="rect"#LINK!

 coords="371,42,499,81" href="index.php?p=portfolio" title="PORTFOLIO!" />

<area shape="rect"#LINK!

 coords="371,84,499,123" href="index.php?p=funnies" title="GUESTBOOK!" />

<area shape="rect"#LINK!

 coords="371,126,499,166" href="index.php?p=funnies" title="FUNNIES!" />

<area shape="default" nohref="nohref" alt="" />

</map>

</body>

</html>
and it says i have an error on line 260 something about unexpected $ just go to http://wick3d.f1r3fr3nzy.net/Optix to see the error

Edited by antidream, 21 July 2005 - 12:55 AM.


#2 coolaid

    P2L Jedi Master

  • Members
  • PipPipPipPip
  • 1,435 posts
  • Gender:Male
  • Interests:i wonder..

Posted 21 July 2005 - 01:10 AM

this should be moved to the php help forum. but the likely problem is that you forgot to end a fuction ( your forgot a } ). or you simply got an extra $ tell us what line number is 260.

#3 antidream

    Young Padawan

  • Members
  • Pip
  • 43 posts

Posted 21 July 2005 - 01:18 AM

<!--Awesome Sites Div-->



<div class="sites">

<div class="leftheading">Awesome Sites.</div>

<a href='http://pixel2life.com' target='_new'>Pixel2Life</a><br>

<a href='http://gamespot.com' target='_new'>Gamespot</a><br>

<a href='http://gametrailers.com' target='_new'>Gametrailers</a><br>

<a href='http://joystiq.com' target='_new'>Joystiq</a><br>

<a href='http://newgrounds.com' target='_new'>Newgrounds</a><br>

<a href='http://www.ferryhalim.com/orisinal/' target='_new'>Orisinal</a><br>

<a href='http://sxc.hu' target='_new'>Stock Xchng</a><br>

<a href='http://ebaumsworld.com' target='_new'>Ebaums World</a><br>

<a href='http://entensity.net' target='_new'>Entensity</a><br>

</div>

<!--End Left Navigation-->

</div>



<!--Content Div-->

<div id="right">

<div class="content">

<?php switch ($HTTP_GET_VARS[p])

{


//Default - case

case 'blog':

default:

include 'portfolio.php';

break;


//Portfolio - case

case 'portfolio':

include 'portfolio.php';

break;


//Guestbook - case

case 'guestbook':

include 'guestbook.php';

break;


//Funnies - case

case 'funnies':

include 'funnies.php';

break;

?>

</div>

</div>

SRATCH everything! i know what it is thanks for that bit of info coolaid. it helped majorly.

Edited by antidream, 21 July 2005 - 01:43 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users