Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Need Help, need help in programming...
BoFrost
post Jan 14 2005, 04:09 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 14-January 05
Member No.: 3,276



i donīt know why the debugger says, that this script has an error:

<?php
function menuelink($link, $liname, $liname2, $tdcolor)
{
echo "<tr>\n";
echo "<td bgcolor='$tdcolor'>\n";
echo "<font face='Comic Sans MS'>&nbsp;<a href='/$link?inh=$liname'>$liname2</a></font></td>\n";
echo "</tr>\n";
}

function menueub($ubname, $tdcolor2)
{
echo "<tr>\n";
echo "<td bgcolor='$tdcolor2'>\n";
echo "<font face='VERDANA,ARIAL,HELVETICA' color='#EFEFEF'><b>&gt; $ubname</b></font></td>\n";
echo "</tr>\n";
}

echo "<tr>\n";
echo "<td align='left' width='800'>\n";
echo "<table width='130' cellspacing='1' bgcolor='#000000' cellpadding='1' align='left'>\n";
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");

echo "</table>\n";
echo "<table width='130' cellspacing='1' bgcolor='#000000' cellpadding='1' align='right'>\n";

menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");


echo "</table>\n";
?>

it says: parse error, unexpected T_ECHO in line 40

why?? what is wrong?
Go to the top of the page
 
+Quote Post
Zaideu
post Jan 14 2005, 04:55 PM
Post #2


Member [Level 2]
*****

Group: Members
Posts: 88
Joined: 12-January 05
Member No.: 3,246



Show me your 40th line smile.gif
QUOTE
<?php
function menuelink($link, $liname, $liname2, $tdcolor)
{
echo "<tr>\n";
echo "<td bgcolor='$tdcolor'>\n";
echo "<font face='Comic Sans MS'>&nbsp;<a href='/$link?inh=$liname'>$liname2</a></font></td>\n";
echo "</tr>\n";
}

function menueub($ubname, $tdcolor2)
{
echo "<tr>\n";
echo "<td bgcolor='$tdcolor2'>\n";
echo "<font face='VERDANA,ARIAL,HELVETICA' color='#EFEFEF'><b>&gt; $ubname</b></font></td>\n";
echo "</tr>\n";
}

echo "<tr>\n";
echo "<td align='left' width='800'>\n";
echo "<table width='130' cellspacing='1' bgcolor='#000000' cellpadding='1' align='left'>\n";
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");

echo "</table>\n";
echo "<table width='130' cellspacing='1' bgcolor='#000000' cellpadding='1' align='right'>\n";

menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menueub("Main", "#407CBF");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");
menuelink("index.php", "Home", "Home", "#54A3E2");


echo "</table>\n";
?>

I suppose it isn't a menuelink wink.gif Show all your script smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Learn Java Programming Language Online Step By Step(1)
  2. Life In Programming?(11)
  3. Alright, I'm Taking Computer Programming As A Class In School.(10)
  4. Win32: Dialog Box And Accelerator(1)
  5. A Prelude To Programming(10)
  6. Project Euler(1)
  7. Making A Picture Viewer Website(3)
  8. Best Programming Language For Win Vista?(3)
  9. What Is Genetic Programming?(3)
  10. What Is Programming Language Of Google Etc.?(21)
  11. How Many of You Use the C Programming language?(23)
  12. A Question About C++ Programming Under Linux(7)
  13. Programming In Glut (lesson 6)(2)
  14. What Is Neuro Linguistic Programming(19)
  15. What Is A T_string?(13)
  1. How Can I Learn Assembly(14)
  2. Good Books On C++ Game Programming(2)
  3. Python(8)
  4. What Programming Languages Should I Choose?(17)
  5. I'm Looking For Help With Programming (i Think)(3)
  6. Free Tutorial (web Programming) + Free Web Hosting(10)
  7. Java Helpdesk(8)
  8. Php And Mysql Programming(2)
  9. The Best Game Programming Languages?(25)
  10. Visual Wd Is The Poorest Attempt Of Programming Yet(0)
  11. Detailed C Beginner Tut(2)
  12. D Programming Language(9)
  13. Programming Competition Work.(2)
  14. Computer Engineers Without Programming(2)
  15. Recommended Server-side Programming Language(5)


 



- Lo-Fi Version Time is now: 6th September 2008 - 07:13 PM