<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Peter&#039;s Useful Crap - Topic: Undefined index: teamtosort</title>
	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort</link>
	<description><![CDATA[Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more]]></description>
	<generator>Simple:Press Version 5.5.1</generator>
	<atom:link href="http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Peter on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2992</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2992</guid>
        	        	<description><![CDATA[<p>Regarding the first, you can define score_sort and score_game_filter at the top of the function:</p>
<p>$score_sort = '';<br />
$score_game_filter = '';</p>
<p>For the second, it is a bit more involved:</p>
<p>1. define $i = 0; before the "while" statement (line 14)<br />
2. increment the variable before the closing "while" bracket (line 28): ++$i;</p>
]]></description>
        	        	<pubDate>Thu, 08 Mar 2012 09:01:11 +0000</pubDate>
        </item>
        <item>
        	<title>John on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2991</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2991</guid>
        	        	<description><![CDATA[<p>also have error message</p>
<p>Undefined variable: i in /standings/admin_files/divisions.php on line 26, referer: /standings/update.php?action=mainview&#38;conf=X</p>
<p>any advice on what to change and where? thanks in anticipation</p>
]]></description>
        	        	<pubDate>Wed, 07 Mar 2012 15:53:35 +0000</pubDate>
        </item>
        <item>
        	<title>John on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2990</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2990</guid>
        	        	<description><![CDATA[<p>Undefined variables: score_game_filter and score_sort in /standings/standings_functions.php on line 74, referer: /standings/standings.php?conf=X</p>
<p>Please can you advise the relevant code changes to be made to reduce the errors. Thanks</p>
]]></description>
        	        	<pubDate>Wed, 07 Mar 2012 13:55:06 +0000</pubDate>
        </item>
        <item>
        	<title>Rob on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2989</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2989</guid>
        	        	<description><![CDATA[<p>There are a few others like this too.</p>
<p>From memory I think the string starts with $score_xxxxxxx.</p>
<p>I think it was in the team history section.</p>
<p>This is just another isset check as current php will serve a notice for unset variables.</p>
<p>Good luck.</p>
<p>If I can remember what file it was I will update here.</p>
<p>Rob.</p>
]]></description>
        	        	<pubDate>Sat, 03 Mar 2012 14:51:17 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2981</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2981</guid>
        	        	<description><![CDATA[<p>Yes, you could add an isset:</p>
<p><input type="button" class="sfcodeselect" name="sfselectit3739" value="Select Code" onclick="spjSelectCode('sfcode3739');" /></p>
<div class="sfcode" id="sfcode3739">if( isset( $_POST['teamtosort'] ) &#38;&#38; $teams['teamid'] == $_POST['teamtosort'] ) {</div>
]]></description>
        	        	<pubDate>Tue, 28 Feb 2012 18:55:32 +0000</pubDate>
        </item>
        <item>
        	<title>John on Undefined index: teamtosort</title>
        	<link>http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2980</link>
        	<category>Peter's Sports League Standings</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-sports-league-standings/undefined-index-teamtosort#p2980</guid>
        	        	<description><![CDATA[<p>Thank you for sharing your great script.</p>
<p>I am getting Undefined index: teamtosort errors in standings.php from the</p>
<p>"Past Games" and "Upcoming Games" sections in the corresponding lines</p>
<p><input type="button" class="sfcodeselect" name="sfselectit3703" value="Select Code" onclick="spjSelectCode('sfcode3703');" /></p>
<div class="sfcode" id="sfcode3703">     if ($teams['teamid'] == $_POST['teamtosort']) {</div>
<p>Do you have any amendments to the code which would solve the problem and reduce the php errors?</p>
]]></description>
        	        	<pubDate>Tue, 28 Feb 2012 18:44:06 +0000</pubDate>
        </item>
</channel>
</rss>