PHP HELP!! ><, it'll only take a couple seconds xP |
PHP HELP!! ><, it'll only take a couple seconds xP |
May 12 2006, 10:52 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 54 Joined: Dec 2004 Member No: 74,101 |
Hey guys.. I'm having a problem that's really bugging me whenever i create a new page on my website.
When I enter text into my php code... to put in the part where the main text is (like the main text box), it's perfectly fine. The page shows up. However, when I try to input an image into my code, the page won't show up and says something like this when I go to the page: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/ellen/public_html/j4u/forfans.php on line 135 Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/ellen/public_html/j4u/forfans.php on line 135 What am I doing wrong? Someone help me..>< |
|
|
|
![]() |
May 17 2006, 04:27 PM
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 54 Joined: Dec 2004 Member No: 74,101 |
I dont find any mistakes..
QUOTE <?php
echo " <!-- start code provided by createblog.com -->\n"; echo "<TITLE>// JERRY FOR YOU // SINGING WITH A PASSION</TITLE>\n"; echo "\n"; echo "<style>\n"; echo "body{\n"; echo "margin: auto;\n"; echo "background-image: url(\"http://www.ah-di-cted.net/fanart/albums/tatty_patterns/background%20%28111%29.jpg\");\n"; echo "scrollbar-3dlight-color:#333333;\n"; echo "scrollbar-arrow-color: #FFFFFF;\n"; echo "scrollbar-base-color: #CED3BD;\n"; echo "scrollbar-darkshadow-color: #666666;\n"; echo "scrollbar-face-color: #CED3BD;\n"; echo "scrollbar-highlight-color: #b0b0b0;\n"; echo "scrollbar-shadow-color: #b0b0b0;\n"; echo "scrollbar-track-color: #FFFFFF; }\n"; echo "font-size:10px;\n"; echo "}\n"; echo "#rap\n"; echo "{\n"; echo "float:left;\n"; echo "margin-left:10px;\n"; echo "}\n"; echo "#top\n"; echo "{\n"; echo "background: url(http://img376.imageshack.us/img376/4484/61870lq.png);\n"; echo "width:364px;\n"; echo "height:503px;\n"; echo "border: 7px solid white;\n"; echo "margin-top:20px;\n"; echo "}\n"; echo "#box1\n"; echo "{width:356px;\n"; echo "background:#fff;\n"; echo "float:left;\n"; echo "margin-top: 7px;\n"; echo "padding:10px;\n"; echo "color:#CCD2BB;\n"; echo "border: 7px solid white;\n"; echo "font-size:10px;\n"; echo "letter-spacing: 1px;\n"; echo "font-family:tahoma;\n"; echo "font-weight: bold;}\n"; echo "\n"; echo "\n"; echo "\n"; echo "#sidebar\n"; echo "{position: absolute;\n"; echo "left:390px;\n"; echo "background: white;\n"; echo "width: 180px;\n"; echo "margin-top:-503px;\n"; echo "}\n"; echo "#sidebar ul {\n"; echo " margin:0;\n"; echo " padding:0;\n"; echo "}\n"; echo "\n"; echo "#sidebar li {\n"; echo "width:180px;\n"; echo "background-color:#fff;\n"; echo "border-bottom: 1px solid #CED3BD;\n"; echo " padding:0;\n"; echo " list-style-type:none;\n"; echo " white-space:nowrap;\n"; echo "font-family: tahoma;\n"; echo "font-weight: bold;\n"; echo "letter-spacing: 2px;\n"; echo "text-decoration: none;\n"; echo " text-transform:uppercase;\n"; echo "text-align: center;\n"; echo "\n"; echo "}\n"; echo "\n"; echo "#sidebar li a {\n"; echo " display:block;\n"; echo "letter-spacing: 5px;\n"; echo " padding:0 18px;\n"; echo " font-size:10px;\n"; echo " text-transform:uppercase;\n"; echo "text-decoration: none;\n"; echo "color:#CED3BD;\n"; echo "\n"; echo "}\n"; echo "\n"; echo "#sidebar a {color:#9EC7F;}\n"; echo "\n"; echo "#sidebar .selected,\n"; echo "\n"; echo "#sidebar a:hover\n"; echo "\n"; echo " {\n"; echo "background-color:#CED3BD;\n"; echo "color: #fff;}\n"; echo "\n"; echo "* html #sidebar a {width:1%;}\n"; echo "\n"; echo "\n"; echo "div#sidebar {\n"; echo " /* Basic font setting for right sidebar */\n"; echo " width: 180px;\n"; echo " background-color: #fff;\n"; echo " color: #CED3BD;\n"; echo " font-family: tahoma;\n"; echo " font-size: 10px;\n"; echo " text-align: justify;\n"; echo " }\n"; echo ".sidebarhead {\n"; echo " /* Basic font settings for the sidebar's header */\n"; echo " border-bottom: 1px solid #c0c0c0;\n"; echo " border-top: 1px solid #c0c0c0;\n"; echo " background-color: #eeeeee;\n"; echo " font-family: tahoma;\n"; echo " font-size: 12px;\n"; echo " color: #CED3BD;\n"; echo " text-align: right;\n"; echo " }\n"; echo "\n"; echo "\n"; echo "</style>\n"; echo "\n"; echo "\n"; echo "\n"; echo "<div id=\"rap\">\n"; echo "<div id=\"top\">\n"; echo "</div>\n"; echo "<div id=\"box1\">\n"; echo "This is the page for the fans!!! Any of these listed here are free to use. Just make sure to give credit to Jerry For You. =]\n"; echo "<br>\n"; echo "<br>\n"; echo "<br>\n"; echo "100x100 Avatars: <BR><BR> <img src=\"http://img406.imageshack.us/img406/9097/av8dn.png\"<br><br> echo "<br>\n"; echo "<br>\n"; echo "\n"; echo "<br>\n"; echo "<br>\n"; echo "</div>\n"; echo "\n"; echo "<td width=10> </td>\n"; echo "<td width=183 valign=top><div id=\"sidebar\">\n"; echo "<!-- module -->\n"; echo "<div class=\"sidebarhead\">[ WEBMISTRESS ]</font></div>\n"; echo "<br>\n"; echo "<b>Name:</b> Holly.\n"; echo "<b>Nickname:</b> Ryou.\n"; echo "<b>Location:</b> USA.\n"; echo "<b>Ethnicity:</b> Taiwanese.\n"; echo "<b>Occupations:</b> Student.\n"; echo "<b>Birthday:</b> May 7th.\n"; echo "<b>Likes:</b> Computers, languages, music, chat with friends, violin.\n"; echo "<b>Addictions:</b> Jerry Yan.\n"; echo "<b>Hates:</b> Evil.\n"; echo "<b>Favorite singer/band:</b> F4, Alan Luo, Wang Lee Hom, etc.\n"; echo "<b>Favorite actor/actress:</b> Jerry Yan.\n"; echo "<b>Favorite color:</b> Pink.\n"; echo "<b>What in her she likes:</b> the eyes and hair.\n"; echo "<b>Songs of the heart:</b> Gravity - Jerry Yan.\n"; echo "<br><br>\n"; echo "<!-- end module -->\n"; echo "<!-- module -->\n"; echo "<div class=\"sidebarhead\">[ LINKS ]</div>\n"; echo "<br>\n"; echo "<ul>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/main.php\">main</a></li>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/jerrybio.php\">jerry's bio</a></li>\n"; echo "<li><a href=\"http://jerryforyou.multiply.com/photos\">photos</a></li>\n"; echo "<li><a href=\"http://www.j4u.echoz.com\">forum</a></li>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/news.php\">jerry's news</a></li>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/forfans.php\">for the fans</a></li>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/affiliates.php\">affiliates</a></li>\n"; echo "<li><a href=\"link us\">link</a></li>\n"; echo "<li><a href=\"http://users.smartgb.com/g/g.php?a=s&i=g17-03840-f2\">guestbook</a></li>\n"; echo "<li><a href=\"http://www.j4u.holding-back.org/vclips.png\">video clips</a></li>\n"; echo "</ul>\n"; echo "<br><br>\n"; echo "<!-- end module -->\n"; echo "<!-- module -->\n"; echo "<div class=\"sidebarhead\">[ EXTRA ]</div>\n"; echo "<br>\n"; echo "<!-- // Begin Pollhost.com Poll Code // -->\n"; echo "<form method=post action=http://poll.pollhost.com/vote.cgi><table border=0 width=180 bgcolor=#EEEEEE cellspacing=0 cellpadding=2><tr><td><font face=\"Tahoma\" size=-2 color=\"#CED3BD\"><b>What is your favorite nickname of Jerry Yan?</b></font></td></tr><tr><td><center><select name=answer><option value=1>Yan Cheng Xu</option><option value=2>Ah Si</option><option value=3>Bao Long</option><option value=4>Xiao Bai Tu</option><option value=5>Ah Xu</option><option value=6>Jerry</option></select></center><tr><td colspan=2><input type=hidden name=config value=\"YXpuaHlwZWdpcmwJMTE0NzMwNjEyOAlFRUVFRUUJMDAwMDAwCUFyaWFsCUFzc29ydGVk\"><center><input type=submit value=Vote> <input type=submit name=view value=View></center></td></tr><tr><td bgcolor=#FFFFFF colspan=2 align=right><font face=\"Tahoma\" size=-2 color=\"#CED3BD\"><a href=http://www.pollhost.com/><font color=#CED3BD>Pollhost.com</font></a></font></td></tr></table></form>\n"; echo "<!-- // End Pollhost.com Poll Code // -->\n"; echo "<!-- end module -->\n"; echo "<!-- module -->\n"; echo "<div class=\"sidebarhead\">[ CREDITS ]</div>\n"; echo "<br>\n"; echo "<b>Layout made by:</b> Holly<br>\n"; echo "<b>Version:</b> Singing with a Passion //v.1<br>\n"; echo "<b>Our Wonderful Hostess:</b> xEllen <br><a href=\"http://www.holding-back.org\"><img src=\"http://holding-back.org/oh-pity/etc/1138402742.gif\">\n"; echo "</a><br>\n"; echo "<b>Visitors:</b> <br><!-- Start of StatCounter Code -->\n"; echo "<script type=\"text/javascript\" language=\"javascript\">\n"; echo "var sc_project=1552241;\n"; echo "var sc_invisible=0;\n"; echo "var sc_partition=14;\n"; echo "var sc_security=\"e3dd14fe\";\n"; echo "</script>\n"; echo "\n"; echo "<script type=\"text/javascript\" language=\"javascript\" src=\"http://www.statcounter.com/counter/counter.js\"></script><noscript><a href=\"http://www.statcounter.com/\" target=\"_blank\"><img src=\"http://c15.statcounter.com/counter.php?sc_project=1552241&java=0&security=e3dd14fe&invisible=0\" alt=\"free hit counter code\" border=\"0\"></a> </noscript>\n"; echo "<!-- End of StatCounter Code -->\n"; echo "<br>\n"; echo "<BR>\n"; echo "<!--end module -->\n"; echo "<!-- module -->\n"; echo "<div class=\"sidebarhead\">[ DISCLAIMER ]</div>\n"; echo "<br>\n"; echo "copyright @ 2006 - j4u.holding-back.org/main.html. This is a <b>fansite</b>, and we are not related or connected with Jerry Yan or F4. Please, do not contact us as if you were contacting the artists. All content here is copyrighted to j4u.holding-back.org, and all images and videos belong to their owner. <br><br><br>\n"; echo "<!-- end module -->\n"; echo "</div></td>\n"; echo "<td width=10> </td>\n"; echo "</tr></table>\n"; echo "\n"; echo "\n"; echo "</div></td>\n"; echo "<td> </td>\n"; echo "</tr></table>\n"; echo "</body>\n"; echo "</html>\n"; echo "\n"; echo "<!-- end code provided by createblog.com -->\n"; ?> <!-- Converted by 0-Code HTML Converter - Trial Version --> |
|
|
|
hypr_azn PHP HELP!! >< May 12 2006, 10:52 PM
mipadi Your syntax is wrong. You may be missing a semicol... May 13 2006, 12:54 PM
hypr_azn i'm reallly sorri for the late reply.. :^.^;;:... May 16 2006, 08:23 PM
mipadi You have one of two problems, or possibly both:You... May 16 2006, 09:46 PM
mipadi You have a mistake on line 133, I think. Your echo... May 18 2006, 07:14 AM
hypr_azn thxx soo much!! i added a \n"; t... May 18 2006, 09:48 PM![]() ![]() |