SitePoint Sponsor

User Tag List

Results 1 to 19 of 19

Thread: echo

  1. #1
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    echo

    i try to echo some html codes but when display, it only shows the word 'echo' and nothing else. wat is the problem??

  2. #2
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just THE word(s), or something else (like all the code)?
    php? mysql? apache? That's it.

  3. #3
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    post the code.
    you probably closed one of the php tags and forgot to reopen it, so it's displaying echo.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  4. #4
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just the 'echo' appeared.

    i didn't close and open php tags...
    i used this header for other files is ok. but when i want to add this header to this new file, then only the echo appeared.

  5. #5
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, we still can't help you very much if you don't post the code.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  6. #6
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is the code:

    <?php

    echo "<html>";

    echo "<head>";
    echo "<meta http-equiv=Content-Type content=text/html; charset=windows-1252>";
    echo "<meta name=GENERATOR content=Microsoft FrontPage 4.0>";
    echo "<meta name=ProgId content=FrontPage.Editor.Document>";
    echo "<title>All Free CramNotes and online Practice Exam for mcse, ccna, ccda, ccnp, cne, ocp and checkpoint</title>";
    echo "<meta name=description content=\"CertifyExpress is a I.T Certification Study Sites that cater for Microsoft, Novell, Cisco, CompTIA, Oracle, CheckPoint, Linux and more!\">";
    echo "<meta name=keywords content=\"Mcse, Braindump heaven, A+, A plus, networking,braindumps, network essentials, cramsession, FREE sample tests, novell, cne, netware, linux, rampage, Microsoft Certified Systems Engineer, MCP,Salsakid ,Viol8tr, Pepe, testmaster, Windows NT, Internet Information Server, TCP/IP, Braindump heaven, Microsoft Certified Professional, Windows 95, Workstation, Server, 4.0, SQL, MS Exchange,Free Braindumps, Web, checkpoint, beach front quizzer,MCSD, transcender, SQL 7.0, CISCO, CCIE, CCNA, CCNP, router, switch, I-Net, CIW\">";
    echo "<meta name=revisit-after Content=7 days>";
    echo "<meta name=Robots content=all>";
    echo "<style TYPE=text/css>";
    echo "<!-- ";
    echo "A:link { text-decoration: none }";
    echo "A:active { text-decroation: none }";
    echo "A:visited { text-decoration: none }";
    echo "A:hover {text-decoration: underline}";
    echo "-->";
    echo "</style>";

    echo "</head>";

    echo "<body topmargin=0 bottommargin=0 leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0 text=#000000 link=#006699 vlink=#006699 alink=#FF3300 background=\"http://www.certifyexpress.com/images/background.gif\">";

    echo "<div id=logo style=\"Z-INDEX: 1; LEFT: 21px; WIDTH: 163px; POSITION: absolute; TOP: 0px; HEIGHT: 60px\">";
    echo "<table cellSpacing=0 cellPadding=0 width=163 border=0>";
    echo "<tbody>";
    echo "<tr>";
    echo "<td><a href=\"http://www.certifyexpress.com/\" target=_top><img alt=CertifyExpress src=\"http://www.certifyexpress.com/images/newlogo.gif\" border=0 width=234 height=60></a></td>";
    echo "</tr>";
    echo "</tbody>";
    echo "</table>";
    echo "</div>";

    echo "<table cellSpacing=0 cellPadding=0 width=100%>";
    echo "<tr>";
    echo "<td bgColor=#7198b6 width=50% height=1>";
    echo "<table border=0 width=775 cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% align=right><font size=2 face=Verdana, arial><b><a href=\"http://www.certifyexpress.com\" target=_top><font color=#FFFFFF>Home</font></a>";
    echo " - <a href=\"http://www.certifyexpress.com/forum/index.php?styleid=17\"><font color=#FFFFFF> Discussion Forum</font></a> -";
    echo "<a href=\"http://www.certifyexpress.com/cgi-bin/jobsearch/apexec.pl?search=&amp;etype=jobs&amp;noattribution=1&amp;perpage=25\"><font color=#FFFFFF> Job Seekers</font></a> -";
    echo "<a href=\"http://www.certifyexpress.com/cgi-bin/terms.cgi?go=az_index.html\"><font color=#FFFFFF> Terms &amp; Jargons</font></a></b></font><img height=1 alt src=\"http://www.certifyexpress.com/images/pixel.gif\"></td>";
    echo "<td bgColor=#7198b6 width=7><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=7></td>";
    echo "</tr>";
    echo "</table>";
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td background=\"http://www.certifyexpress.com/images/bg_dot01.gif\" bgColor=#7198b6 colspan=2><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=3 height=3></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=#7198b6 colspan=2><img height=5 alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=white colspan=2><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=3 height=3></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=#7198b6 colspan=2><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=3 height=3></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=#dfebf8 colspan=2><img height=2 alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=#c8d3df colspan=2 align=right>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=99% align=right><b><i><font face=verdana, arial size=2 color=#006699>Helping you to get Certified!</font></i></b>";
    echo "</td>";
    echo "<td width=2>";
    echo "<img height=1 alt src=\"http://www.certifyexpress.com/images/pixel.gif\">";
    echo "</td>";
    echo "</tr>";
    echo "</table>";
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=#e5e5e5 colspan=2><img height=7 alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td bgColor=white colspan=2>";
    echo "<table border=0 width=775 cellspacing=0 cellpadding=0>";
    echo "<tr><td bgcolor=#FFFFFF>";
    echo "<img height=4 alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1>";
    echo "</td></tr>";
    echo "<tr>";
    echo "<td width=100%><font face=verdana size=2>&nbsp;&nbsp;";
    include ("http://www.certifyexpress.com/forum/homelogin.php");
    echo ",&nbsp;&nbsp;<b>Total Registered Members : <font color=#FF3300>";
    include ("http://www.certifyexpress.com/forum/registered.php");
    echo "&nbsp;</font></b></font>";
    echo "<br>";
    echo "</td>";
    echo "<td bgColor=#FFFFFF width=7><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=7></td>";
    echo "</tr>";
    echo "</table>";
    echo "</td>";
    echo "</tr>";
    echo "</table>";

    echo "<table border=0 width=775 cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% bgColor=#e5e5e5 colspan=2><img height=1 alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100%>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=2% background=\"http://www.certifyexpress.com/images/bg_dot04.gif\"><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=18% valign=middle align=center>";
    //<!-- START ADCYCLE SSI MEDIA CODE for Top Left -->
    include ("http://www.certifyexpress.com/cgi-bin/adscycle/adcycle.cgi?gid=6&type=ssi&id=911&keywords=ENTER+KEYWORD+LIST");
    //<!-- END ADCYCLE CODE -->
    echo "</td>";
    echo "<td bgColor=#e5e5e5 width=1><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td bgColor=#e3ddc8 width=3><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=3></td>";
    echo "<td width=79% align=center bgcolor=#FFFFFF><font face=verdana, arial size=1>";
    //<!-- START ADCYCLE SSI MEDIA CODE for Top of Member Pages -->
    include ("http://www.certifyexpress.com/cgi-bin/adscycle/adcycle.cgi?gid=1&type=ssi&id=275&keywords=ENTER+KEYWORD+LIST");
    //<!-- END ADCYCLE CODE -->
    echo "</font></td>";
    echo "<td width=1 bgcolor=#e5e5e5><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=1% background=\"http://www.certifyexpress.com/images/bg_dot04.gif\"><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "</table>";
    echo "</td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#FFFFFF>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=2% background=\"http://www.certifyexpress.com/images/bg_dot04.gif\"><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=18% valign=top bgcolor=#C8D3DF>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td colspan=3 valign=bottom><img border=0 src=\"http://www.certifyexpress.com/images/studyguide.gif\" width=108 height=19></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000 colspan=3><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000 rowspan=11><font size=1 face=Verdana><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></font></td>";
    echo "<td width=100% height=1 bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/microsoft/\">Microsoft</a></font></td>";
    echo "<td width=1 bgcolor=#000000 rowspan=11><font size=1 face=Verdana><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#C8D3DF><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/cisc/\">Cisco</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/novell/\">Novell</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100%><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/comptia/\">CompTIA</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/linux_unix/\">Linux/Unix</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100%><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/prosoft/\">CIW</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/oracle/\">Oracle</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100%><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/lotus/\">Lotus</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/checkpoint/\">CheckPoint</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#C8D3DF><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/sun/\">Sun</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font face=Verdana, arial size=2>&nbsp;<a href=\"http://www.certifyexpress.com/bea/\">BEA</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width =1 colspan=2 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";

    echo "</table><br>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% align=center><a href=\"http://www.cheet-sheets.com\" target=_top><img alt=\"Click Here To Visit Our Sponsor\" border=0 src=\"http://www.certifyexpress.com/images/ads/cheetsheets.gif\" width=120 height=60></a>";
    echo "</td>";
    echo "</tr>";
    echo "</table><br>";

    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% colspan=3><img border=0 src=\"http://www.certifyexpress.com/images/misc.gif\" width=108 height=18></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td height=1 colspan=3 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/cgi-bin/books/booksearch.pl?perpage=10&amp;noattribution=1&amp;keyword=certification&amp;tag=dumpsite\">Book Search</a></font></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000 rowspan=3><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100%><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/forum/index.php?styleid=17\">Discussion Forum</a></font></td>";
    echo "<td width=1 bgcolor=#000000 rowspan=3><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/cgi-bin/search/ksearch.cgi?terms=mcse&amp;sort=Matches&amp;display=10&amp;b=1&amp;u=1\">Site Search</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100%><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/misc/search.shtml?search=certification\">Search the Net</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/misc/chat.shtml\">Chat Room</a></font></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100%><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/links/\">Links</a></font></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/misc/webrings.shtml\">Webrings</a></font></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100%><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/misc/contribute.shtml\">Contribute</a></font></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000 rowspan=4><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/misc/contests.shtml\">Contests</a></font></td>";
    echo "<td width=1 bgcolor=#000000 rowspan=4><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#C8D3DF><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/hosting/\">Webhosting</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#DFEBF8><font size=2 face=verdana, arial>&nbsp;<a href=\"http://mail.certifyexpress.com\">E-Mail</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% bgcolor=#C8D3DF><font size=2 face=verdana, arial>&nbsp;<a href=\"http://www.certifyexpress.com/topsites/\">TopSites</a></font></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td height=1 colspan=3 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "</table><br>";


    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% align=center><a href=\"http://www.certifypro.com\"><img border=0 src=\"http://www.certifyexpress.com/images/ads/certifypro-mid.gif\" alt=\"Download Your FREE Copt Today !\" width=120 height=60></a>";
    echo "</td>";
    echo "</tr>";
    echo "</table><br>";

    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% align=center><font face=verdana, arial size=1><a href=\"http://www.certifyexpress.com/misc/email.shtml\">E-Mail This Page</a></font></td>";
    echo "</tr>";
    echo "</table><br>";



    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% colspan=3><img border=0 src=\"http://www.certifyexpress.com/images/wol.gif\" width=108 height=18></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% colspan=3 height=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8><table width=100%><td bgcolor=#DFEBF8><font face=verdana, arial size=1>";
    include ("http://www.certifyexpress.com/forum/online3.php");
    echo "</td></table></td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=100% colspan=3 height=1 bgcolor=#00000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "</table><br>";
    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% align=center>";
    //<!-- START ADCYCLE SSI MEDIA CODE for Lower Left -->
    include ("http://www.certifyexpress.com/cgi-bin/adscycle/adcycle.cgi?gid=3&type=ssi&id=216&keywords=ENTER+KEYWORD+LIST");
    //<!-- END ADCYCLE CODE -->
    echo "</td>";
    echo "</tr>";
    echo "</table><br>";



    echo "<table border=0 width=100% cellspacing=0 cellpadding=0>";
    echo "<tr>";
    echo "<td width=100% colspan=3><img border=0 src=\"http://www.certifyexpress.com/images/survey.gif\" width=108 height=18></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 colspan=3 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td width=100% bgcolor=#DFEBF8>";
    include ("http://www.certifyexpress.com/cgi-bin/survey/poll.pl");
    echo "</td>";
    echo "<td width=1 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "</tr>";
    echo "<tr>";
    echo "<td width=1 colspan=3 bgcolor=#000000><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" height=1></td>";
    echo "</tr>";
    echo "</table>";

    echo "<p>&nbsp;</p>";
    echo "</td>";
    echo "<td width=1 bgcolor=#e5e5e5><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=1></td>";
    echo "<td bgColor=#e3ddc8 width=3><img alt src=\"http://www.certifyexpress.com/images/pixel.gif\" width=3></td>";
    echo "<td width=79% align=center valign=top bgcolor=#FFFFFF>";

    ?>

  7. #7
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't suppose it'd be too much trouble to tell us which echo it is since theres about 200 there?
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  8. #8
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can solve your problem by removing all the echo() statements

    you do not need to echo everything, just write as plain HTML and include the file as normal.

    if there is any dynamic content to that stuff just use echo where neded, i.e

    <a href="this.htm?id=<?echo $id;?>">id</a>
    ...etc etc

    your eyes will thank you !

  9. #9
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i hope the editor she's using has a good replace function
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  10. #10
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, every 'echo' appeared when i dispay.

    i thought it's easier if i echo everything if i saved the page to .php

  11. #11
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no, as firepages said, just make it plain HTML w/o all the echo's. much more effecient that way.
    - Matt ** Ignore old signature for now... **
    Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
    "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR

  12. #12
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok. i'll try. thanks.

  13. #13
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is the file an .htm or .html file? If it is then it won't display your PHP properly. It has to be saved as a .php file and the server must have PHP installed.

    Sketch
    Aaron Brazell
    Technosailor



  14. #14
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is the url where all the 'echo' are displayed:

    http://www.certifyexpress.com/exam/microsoft/index.php

  15. #15
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i see no echo on that page at all.
    just a normal page.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  16. #16
    SitePoint Addict joyce's Avatar
    Join Date
    Aug 2001
    Posts
    295
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry.. i've deleted all the 'echo' . the html codes works but all the files that i include is not working...

  17. #17
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As a general rule only use PHP when you have to. Echoing out all of that html is just a waste of processing time. Instead go in and out of PHP mode, for example:

    PHP Code:
    <p>Hello everyone</p>

    <?php

    include "file.php";

    ?>

    <p>Bye</p>
    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  18. #18
    SitePoint Addict rwar's Avatar
    Join Date
    Sep 2001
    Location
    PF / RS / BR
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the html codes works but all the files that i include is not
    Are your "files" in the proper directory?
    php? mysql? apache? That's it.

  19. #19
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you kept the PHP tags around the include statements?

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •