Problem In Share Credits In Funmobile Script

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

6 replies · 572 views · started 18 years ago · 1 min read

4 participants
thunderwap Developer · 169 posts #1

can any1 plz help me that wats wrong in this index.php codings bcoz i m getting error like Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/wap/public_html/index.php on line 5013

}else if($action=="givep") { addonline(getuid_ses($ses),"Share your Credits",""); if($mime== WEB) { echo webhead($uthm,$stitle);

echo " "; echo "Here you can share credits with your Firends **Note:**All Logs are Reporting to Staff " echo "Give Credits To ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'")); echo "You have $gps[0] Credits

"; echo "<form action="genproc.php?action=givep&ses=$ses&who=$who" method="post">"; echo "Credits to give ";

echo "<input name="ptg" format="*N" maxlength="2"/>"; echo " ";

echo "<input type="submit" value="Give Credits"/>"; echo "</form>"; echo "

<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo webfoot();

}else{
	echo waphead($stitle);

echo "<onevent type="onenterforward">"; echo "<refresh> <setvar name="tfgp" value="0"/>"; echo "</refresh></onevent>"; echo " "; echo "Give Credits To ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'")); echo "You have $gps[0] Credits's

"; echo "credits's to give "; echo "<input name="tfgp" format="*N" maxlength="2"/>"; echo " <anchor>Give"; echo "<go href="genproc.php?action=givep&ses=$ses&who=$who" method="post">"; echo "<postfield name="ptg" value="$(tfgp)"/>"; echo "</go></anchor>"; echo "

<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo wapfoot();

}

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

metulj Super moderator Principal · 1,726 posts #2

can any1 plz help me that wats wrong in this index.php codings bcoz i m getting error like Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/wap/public_html/index.php on line 5013 }else if($action=="givep") { addonline(getuid_ses($ses),"Share your Credits",""); if($mime== WEB) { echo webhead($uthm,$stitle);

echo " "; echo "Here you can share credits with your Firends **Note:**All Logs are Reporting to Staff " echo "Give Credits To ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'")); echo "You have $gps[0] Credits

"; echo "<form action="genproc.php?action=givep&ses=$ses&who=$who" method="post">"; echo "Credits to give ";

echo "<input name="ptg" format="*N" maxlength="2"/>"; echo " ";

echo "<input type="submit" value="Give Credits"/>"; echo "</form>"; echo "

<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo webfoot();

}else{ echo waphead($stitle); echo "<onevent type="onenterforward">"; echo "<refresh> <setvar name="tfgp" value="0"/>"; echo "</refresh></onevent>"; echo " "; echo "Give Credits To ".getnick_uid($who)."

"; $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."'")); echo "You have $gps[0] Credits's

"; echo "credits's to give "; echo "<input name="tfgp" format="*N" maxlength="2"/>"; echo " <anchor>Give"; echo "<go href="genproc.php?action=givep&ses=$ses&who=$who" method="post">"; echo "<postfield name="ptg" value="$(tfgp)"/>"; echo "</go></anchor>"; echo "

<a href="index.php?action=main&ses=$ses"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " "; echo wapfoot();

}

5 posts for same thing?? External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

mcKeny Developer · 130 posts #3

CODE }else if($action=="givep")

{

addonline(getuid_ses($ ses),"Share your Credits","");

if($mime== WEB)

{

echo webhead($uthm,$stitle);

echo " ";

echo "Here you can share credits with your Firends Note:</ b>All Logs are Reporting to Staff " add a ; to the end

R.M.C

PHP Adovocate B)

thunderwap Developer · 169 posts #4

CODE

}else if($action=="givep")

{

addonline(getuid_ses($ ses),"Share your Credits","");

if($mime== WEB)

{

echo webhead($uthm,$stitle); echo " ";

echo "Here you can share credits with your Firends Note:</ b>All Logs are Reporting to Staff " add a ; to the end

lol this codings r same. plz any1 can help me

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

mcKeny Developer · 130 posts #5

Hmmm it said unexpected echo you didn't end a string with a semi colon before you state the echo see the error in red below CODE

}else if($action=="givep")

{

addonline(getuid_ses($ ses),"Share your Credits","");

if($mime== WEB)

{

echo webhead($uthm,$stitle);

echo " ";

echo "Here you can share credits with your Firends **Note:**All Logs are Reporting to Staff "<-- you should close the string with a ;

echo "Give Credits To ".getnick_uid($who)."

";

$gps = mysql_fetch_array(my sql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."' "));

echo "You have $gps[0] Credits

";

echo "<form action="genproc.ph p?action=givep&ses =$ses&who=$who" method="post">";

echo "Credits to give ";

echo "<input name="ptg" format="*N" maxlength="2"/>";

echo " ";

echo "<input type="submit" value="Give Credits"/>";

echo "</form>";

echo "

<a href="index.php?act ion=main&ses=$ses"> <img src="images/home.gif" alt="*"/>";

echo "Home</a>";

echo " ";

echo webfoot();

}else{

echo waphead($stitle);

echo "<onevent type="onenterforwa rd">";

echo "<refresh>

<setvar name="tfgp" value="0"/>";

echo "</refresh></onevent>";

echo " ";

echo "Give Credits To ".getnick_uid($who)."< /b>

";

$gps = mysql_fetch_array(my sql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."' "));

echo "You have $gps[0] Credits's

";

echo "credits's to give ";

echo "<input name="tfgp" format="*N" maxlength="2"/>";

echo " <anchor>Give";

echo "<go href="genproc.php? action=givep&ses=$ ses&who=$who" method="post">";

echo "<postfield name="ptg" value="$(tfgp)"/>";

echo "</go></anchor>";

echo "

<a href="index.php?act ion=main&ses=$ses"> <img src="images/home.gif" alt="*"/>";

echo "Home</a>";

echo " ";

echo wapfoot();

}

R.M.C

PHP Adovocate B)

thunderwap Developer · 169 posts #6

Hmmm it said unexpected echo you didn't end a string with a semi colon before you state the echo see the error in red below CODE

}else if($action=="givep")

{

addonline(getuid_ses($ ses),"Share your Credits","");

if($mime== WEB)

{

echo webhead($uthm,$stitle); echo " ";

echo "Here you can share credits with your Firends **Note:**All Logs are Reporting to Staff "<-- you should close the string with a ;

echo "Give Credits To ".getnick_uid($who)."

";

$gps = mysql_fetch_array(my sql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."' "));

echo "You have $gps[0] Credits

";

echo "<form action="genproc.ph p?action=givep&ses =$ses&who=$who" method="post">";

echo "Credits to give "; echo "<input name="ptg" format="*N" maxlength="2"/>";

echo " "; echo "<input type="submit" value="Give Credits"/>";

echo "</form>";

echo "

<a href="index.php?act ion=main&ses=$ses"> <img src="images/home.gif" alt="*"/>";

echo "Home</a>";

echo " ";

echo webfoot(); }else{

echo waphead($stitle);

echo "<onevent type="onenterforwa rd">";

echo "<refresh>

<setvar name="tfgp" value="0"/>";

echo "</refresh></onevent>";

echo " ";

echo "Give Credits To ".getnick_uid($who)."< /b>

";

$gps = mysql_fetch_array(my sql_query("SELECT credits FROM ibwf_users WHERE id='".getuid_ses($ses)."' "));

echo "You have $gps[0] Credits's

";

echo "credits's to give ";

*echo "<input name="tfgp" format="N" maxlength="2"/>";

echo " <anchor>Give";

echo "<go href="genproc.php? action=givep&ses=$ ses&who=$who" method="post">";

echo "<postfield name="ptg" value="$(tfgp)"/>";

echo "</go></anchor>";

echo "

<a href="index.php?act ion=main&ses=$ses"> <img src="images/home.gif" alt="*"/>";

echo "Home</a>";

echo " ";

echo wapfoot(); }

wat do u mean.can u paste the whole index.php codings 4 it

WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

Jerson Developer · 70 posts #7

change ur hosting haha..............

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close