Waraxe IT Security Portal
Login or Register
November 15, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 112
Members: 0
Total: 112
Full disclosure
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> How to fix -> [syntax error], unexpected T_CONSTANT_ENCAPSED_ST
Post new topicReply to topic View previous topic :: View next topic
[syntax error], unexpected T_CONSTANT_ENCAPSED_ST
PostPosted: Fri Mar 22, 2013 4:59 am Reply with quote
sylvester
Beginner
Beginner
Joined: Mar 21, 2013
Posts: 4




Can't find the error..plz help..
Code:
<?php


session_start( );
include( "language.php" );
$empid = $_SESSION['emp_id'];
$js_id = $_SESSION['memid'];
$query = mysql_query( "select * from job_seeker where id='{$js_id}'" );
$queryselect_fetch = mysql_fetch_array( $query );
$uname = $queryselect_fetch['uname'];
$page = mysql_query( "select * from page where status='active' and position='topheader' or position='both'" );
$num_page = mysql_num_rows( $page );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$page_name = basename( $_SERVER['PHP_SELF'] );
echo "<s";
echo "cript type=\"text/javascript\" src=\"language_change.js\"></script>\r\n\r\n<table width=\"1003px\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"htab\">\r\n <tr>\r\n\t\t\t<td width=\"36%\" align=\"left\" valign=\"top\" style=\"padding-left:10px; padding-top:5px;\">\r\n\t\t\t";
if ( isset( "js_id" ) == true )
{
echo "\t\t\t\t";
echo $label['hdr_welcom'];
echo " ";
echo "<s";
echo "pan class=\"bluetext\">";
echo $uname;
echo "</span> | <a href=\"jobseekers/logout.php\">";
echo $label['hdr_lgout'];
echo "</a>\r\n\t\t\t";
}
else
{
echo "\t\t\t<a href=\"jobseekers/jobseekerloginpage.php\">";
echo $label['hdr_sigin'];
echo "</a> | <a href=\"jobseekers/jobseeker_registration.php\">";
echo $label['hdr_reg'];
echo "</a>\r\n\t\t\t";
}
echo "</td>\r\n\t\t\t\r\n <td width=\"64%\" align=\"right\" valign=\"top\" style=\"padding-left:10px; padding-top:5px; padding-right:7px;\">";
if ( $rs0['frontend_lng'] == "yes" )
{
echo " ";
echo "<s";
echo "elect name=\"language\" id=\"language\" onchange=\"languages(this.value,'";
echo $page_name;
echo "')\">\r\n\t\t\t<option value=''>select language</option>\r\n\t\t\t\t\t ";
$lang_query = mysql_query( "select * from language order by langname asc" );
while ( $language_fetch = mysql_fetch_array( $lang_query ) )
{
echo " <option value=\"";
echo $language_fetch['langid'];
echo "\"";
if ( $_SESSION['langid'] == $language_fetch['langid'] )
{
echo "selected";
}
echo "> ";
echo $language_fetch['langname'];
echo "</option>\r\n\t\t\t\t\t";
}
echo " </select> | ";
}
echo "\t\t\t<a href=\"index.php\">";
echo $label['hdr_hom'];
echo "</a> | \r\n\t\t\t";
$j = 1;
while ( $page_fetch = mysql_fetch_array( $page ) )
{
echo "\t\t\t";
echo "<a href='aboutcompany-".$page_fetch[id]."-".urlconvert( $page_fetch[pagename] ).".html' class='alink'>{$page_fetch['pagename']}</a>";
if ( $j != $num_page )
{
echo " ;;|";
}
echo " \r\n\t\t\t";
++$j;
}
echo "\t\t\t| <a href=\"news_all.php\">";
echo $label['hdr_lat_news'];
echo "</a>\t</td>\r\n </tr>\r\n <tr>\r\n <td height=\"46\" align=\"left\" valign=\"top\" style=\"padding-top:12px; padding-bottom:-5px;\"><a href=\"index.php\"><img src=\"";
echo $rs0['adminfolder'];
echo "/";
echo $rs0['logo'];
echo "\" border=\"0\" /></a></td>\r\n <td colspan=\"2\" align=\"right\" valign=\"middle\" style=\"padding-right:2px; padding-top:12px; padding-bottom:5px;\"><div id=\"ReloadThis\">";
include( "top_banner.php" );
echo "</div></td>\r\n </tr>\r\n</table>\r\n";
include( "mainmenu.php" );
echo "\t\t";
?>
View user's profile Send private message
PostPosted: Fri Mar 22, 2013 9:56 am Reply with quote
pirate-sky
Advanced user
Advanced user
Joined: Dec 17, 2012
Posts: 75




Error is fixed: http://pastebin.com/CnVWHbBb
View user's profile Send private message
PostPosted: Sat Mar 23, 2013 4:19 am Reply with quote
sylvester
Beginner
Beginner
Joined: Mar 21, 2013
Posts: 4




Could you please tell me what was the error?
View user's profile Send private message
[syntax error], unexpected T_CONSTANT_ENCAPSED_ST
www.waraxe.us Forum Index -> How to fix
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.037 Seconds