hello can anyone help me plese i got a problem amusing funmobile xhtml and wml in one scipt i codded the popup inmy script after finished the siye works but the popup doent because i cnt view it in list .php i keep seeing this errorParse error:
Parse error: syntax error, unexpected $end in /home/micro/public_html/lists.php on line 8399
and this is the code is used in list.php
if($action=="sendto")
{
addonline(getuid_ses($ses),"sending popup","");
if($mime== WEB)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "$getbuttons
";
$whonick = getnick_uid($who);
$byuid = getuid_ses($ses);
echo "Sending to ".$whonick."
";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<anchor>SEND<go href=\"popus.php?action=send&who=$who&ses= $ses\" method=\"post\">";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "</go></anchor>
<a href=\"index.php?action=main&ses=$ses\">Home</a>";
echo "</p>";
echo webfoot();
}else{
echo waphead($stitle);
echo "<card id=\"main\" title=\"popups\">";
echo "<p align=\"center\">";
echo "$getbuttons
";
$whonick = getnick_uid($who);
$byuid = getuid_sid($ses);
echo "Sending to ".$whonick."
";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<anchor>SEND<go href=\"popus.php?action=send&who=$who&ses= $ses\" method=\"post\">";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "</go></anchor>
";
echo "
<a href=\"index.php?action=main&sid=$sid\">Home</a>";
echo "</p>";
echo "</card>";
echo wapfoot();
}
Parse error: syntax error, unexpected $end in /home/micro/public_html/lists.php on line 8399
and this is the code is used in list.php
if($action=="sendto")
{
addonline(getuid_ses($ses),"sending popup","");
if($mime== WEB)
{
echo webhead($uthm,$stitle);
echo "<p align=\"center\">";
echo "$getbuttons
";
$whonick = getnick_uid($who);
$byuid = getuid_ses($ses);
echo "Sending to ".$whonick."
";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<anchor>SEND<go href=\"popus.php?action=send&who=$who&ses= $ses\" method=\"post\">";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "</go></anchor>
<a href=\"index.php?action=main&ses=$ses\">Home</a>";
echo "</p>";
echo webfoot();
}else{
echo waphead($stitle);
echo "<card id=\"main\" title=\"popups\">";
echo "<p align=\"center\">";
echo "$getbuttons
";
$whonick = getnick_uid($who);
$byuid = getuid_sid($ses);
echo "Sending to ".$whonick."
";
echo "<input name=\"msg\" maxlength=\"150\"/>
";
echo "<anchor>SEND<go href=\"popus.php?action=send&who=$who&ses= $ses\" method=\"post\">";
echo "<postfield name=\"msg\" value=\"$(msg)\"/>";
echo "<postfield name=\"who\" value=\"$(who)\"/>";
echo "</go></anchor>
";
echo "
<a href=\"index.php?action=main&sid=$sid\">Home</a>";
echo "</p>";
echo "</card>";
echo wapfoot();
}
Comment