<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Tycoon Talk - PHP Forum</title>
		<link>http://www.webmaster-talk.com//</link>
		<description>This forum is for discussion and help with PHP programming, one of the most common languages used for building websites. Hire PHP Developers</description>
		<language>en</language>
		<lastBuildDate>Wed, 19 Jun 2013 22:57:44 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://img.tycoontalk.freelancer.com/bluesky/vb_img/misc/rss.jpg</url>
			<title>Tycoon Talk - PHP Forum</title>
			<link>http://www.webmaster-talk.com//</link>
		</image>
		<item>
			<title>Open two links in one click.</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239578&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 11:21:47 GMT</pubDate>
			<description><![CDATA[Hello everyone i am looking for a php code that will open two windows. Currently i am using this  
 
" 
HTML: 
--------- 
<a href=""...]]></description>
			<content:encoded><![CDATA[<div>Hello everyone i am looking for a php code that will open two windows. Currently i am using this <br />
<br />
&quot;<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">HTML Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><span style="color:#008000">&lt;a href=<span style="color:#0000FF">&quot;&quot;</span> class=<span style="color:#0000FF">&quot;blog_link&quot;</span>&nbsp; onclick=<span style="color:#0000FF">&quot;window.open('','newwin');&quot;</span>&gt;</span>type&nbsp; here<span style="color:#008000">&lt;/a&gt;</span></code><hr />
</div>&quot;<br />
I am looking for some php lines to overwrite this.</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>Downloadaudio</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239578</guid>
		</item>
		<item>
			<title>Help on  embedding sidebars to files</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239574&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 04:30:55 GMT</pubDate>
			<description><![CDATA[Goodday dear. 
 
Pls have been troubled alot by this "embedding sidebars to files" e.g  .php files. 
 
[br /] 
What my problem is, is the what should...]]></description>
			<content:encoded><![CDATA[<div>Goodday dear.<br />
<br />
Pls have been troubled alot by this &quot;embedding sidebars to files&quot; e.g  .php files.<br />
<br />
[br /]<br />
What my problem is, is the what should be the actual width of the .php file and the sidebare?<br />
<br />
[jbr/]<br />
I mean real sidebars , not just a piece of content / link below the footer just as some site has .<br />
<br />
[br/]<br />
i know how to use php includes but confused about the sidebar , pls what am i to do?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>Sistus</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239574</guid>
		</item>
		<item>
			<title>I have peoples name variable $name, how to count how many characters for each name?</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239561&amp;goto=newpost</link>
			<pubDate>Fri, 14 Jun 2013 19:57:42 GMT</pubDate>
			<description>i have a field, the field name is *name*, like 
John 
Robert 
etc 
  
the variable to call name is $name 
  
  
  
now i need to display how many...</description>
			<content:encoded><![CDATA[<div>i have a field, the field name is <b>name</b>, like<br />
John<br />
Robert<br />
etc<br />
 <br />
the variable to call name is $name<br />
 <br />
 <br />
 <br />
now i need to display how many characters each name have, for example<br />
John : <b>4</b> characters<br />
Robert : <b>6</b> character<br />
 <br />
how to get characters numbers by using the name variable $name, what is the query looks like?<br />
 <br />
 <br />
thank you &amp; GBU for all that helping</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>basketmen</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239561</guid>
		</item>
		<item>
			<title>JOIN queries with SUM help</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239544&amp;goto=newpost</link>
			<pubDate>Wed, 12 Jun 2013 15:30:01 GMT</pubDate>
			<description><![CDATA[Hello,  
 
I have a query with SUM and JOIN but the results are not what I expect them to be :/ I'm thinking is something with the JOIN but i'm not...]]></description>
			<content:encoded><![CDATA[<div>Hello, <br />
<br />
I have a query with SUM and JOIN but the results are not what I expect them to be :/ I'm thinking is something with the JOIN but i'm not sure what it is on the first column I'm getting triple the value and the second column I'm getting the double of what I should get. Here is the query maybe someone can help me<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">SELECT<br />SUM</span><span style="color: #007700">(</span><span style="color: #0000BB">mex_accounts</span><span style="color: #007700">.</span><span style="color: #0000BB">cantidad_aportacion</span><span style="color: #007700">)&nbsp;AS&nbsp;</span><span style="color: #0000BB">total_por_cobrar</span><span style="color: #007700">,<br /></span><span style="color: #0000BB">SUM</span><span style="color: #007700">(</span><span style="color: #0000BB">mex_recibos</span><span style="color: #007700">.</span><span style="color: #0000BB">cantidad</span><span style="color: #007700">)&nbsp;AS&nbsp;</span><span style="color: #0000BB">total_pagado<br />FROM&nbsp;mex_accounts<br />INNER&nbsp;JOIN&nbsp;mex_recibos&nbsp;ON&nbsp;DATE_FORMAT</span><span style="color: #007700">(</span><span style="color: #0000BB">mex_accounts</span><span style="color: #007700">.</span><span style="color: #0000BB">fecha_aportacion</span><span style="color: #007700">,</span><span style="color: #DD0000">'%Y-%m-%d'</span><span style="color: #007700">)&nbsp;=&nbsp;</span><span style="color: #0000BB">DATE_FORMAT</span><span style="color: #007700">(</span><span style="color: #0000BB">mex_recibos</span><span style="color: #007700">.</span><span style="color: #0000BB">fecha_pago</span><span style="color: #007700">,</span><span style="color: #DD0000">'%Y-%m-%d'</span><span style="color: #007700">)<br /><br /></span><span style="color: #0000BB">column&nbsp;1&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">1800&nbsp;</span><span style="color: #FF8000">//&nbsp;expected&nbsp;is&nbsp;600<br /></span><span style="color: #0000BB">column&nbsp;2&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">2300&nbsp;</span><span style="color: #FF8000">//&nbsp;expected&nbsp;is&nbsp;1150&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>Thanks for your help</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>stivens</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239544</guid>
		</item>
		<item>
			<title>Anybody knows this PHP Program?</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239525&amp;goto=newpost</link>
			<pubDate>Sun, 09 Jun 2013 14:10:59 GMT</pubDate>
			<description><![CDATA[Hello,Guys 
 
I m looking for this Video Sharing Script. I found that there's a PHP Script is suited for me.  But I don't know what's the PHP Script?...]]></description>
			<content:encoded><![CDATA[<div>Hello,Guys<br />
<br />
I m looking for this Video Sharing Script. I found that there's a PHP Script is suited for me.  But I don't know what's the PHP Script?<br />
<br />
Anybody knows this? Thanks<br />
<br />
Demo: film. aloteen. n et</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>winsonstyle</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239525</guid>
		</item>
		<item>
			<title>mysql_fetch_array error</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239519&amp;goto=newpost</link>
			<pubDate>Sat, 08 Jun 2013 11:24:57 GMT</pubDate>
			<description><![CDATA[Hello, 
  
I have this code: 
  
 
PHP: 
--------- 
 while ($row = mysql_fetch_array($result)){ 
  $result_array[$count] = $row; 
  $count++;]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
 <br />
I have this code:<br />
 <br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
	<div class="alt2">
		<hr />
		<code style="white-space:nowrap">
		<div dir="ltr" style="text-align:left;">
			<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">&nbsp;</span><span style="color: #007700">while&nbsp;(</span><span style="color: #0000BB">$row&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">)){<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$result_array</span><span style="color: #007700">&#91;</span><span style="color: #0000BB">$count</span><span style="color: #007700">&#93;&nbsp;=&nbsp;</span><span style="color: #0000BB">$row</span><span style="color: #007700">;<br />&nbsp;&nbsp;</span><span style="color: #0000BB">$count</span><span style="color: #007700">++;<br />&nbsp;}&nbsp;<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
		</div>
		</code>
		<hr />
	</div>
</div>end on page i have this 2 errors:<br />
 <br />
<b>Notice: Undefined variable: result in C:\wamp\www\php\fns.php on line <i>21</i></b><br />
 <br />
<b>Warning: mysql_fetch_array() expects parameter 1 to be resource, null given in C:\wamp\www\php\fns.php on line <i>21</i></b><br />
 <br />
can anyone help please?</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>exma</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239519</guid>
		</item>
		<item>
			<title>how to extract open graph tags using php</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239478&amp;goto=newpost</link>
			<pubDate>Fri, 31 May 2013 16:01:55 GMT</pubDate>
			<description>Hi,  I want to extract title , image and description of my website pages.  I want to do that using og tags like facebook does.   
 
could anyone help...</description>
			<content:encoded><![CDATA[<div>Hi,  I want to extract title , image and description of my website pages.  I want to do that using og tags like facebook does.  <br />
<br />
could anyone help me how to extract open graph tags using php <br />
<br />
<br />
Thanks</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>apnavarun1</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239478</guid>
		</item>
		<item>
			<title>Get value of text box store in php array variable</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239426&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 13:17:16 GMT</pubDate>
			<description>I have a table like code html belows 
I want to store value of check box and corresponding text value into 2 array in PHP 
For example 
if i check...</description>
			<content:encoded><![CDATA[<div>I have a table like code html belows<br />
I want to store value of check box and corresponding text value into 2 array in PHP<br />
For example<br />
if i check box ID_1, ID_2<br />
the values of these check box are stored in $array_box ( 74, 75)<br />
and values of corresponding text box are stored in $array_text (&quot;iOS&quot;,&quot;Android&quot;).<br />
Similar in case if i check box ID_1, ID_4 <br />
Do you have any idea? thank you very much<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				&lt;table width=&quot;341&quot; border=&quot;1&quot;&gt;<br />
  &lt;tr&gt;<br />
    &lt;th width=&quot;20&quot; scope=&quot;row&quot;&gt;&lt;input name=&quot;target&quot; type=&quot;checkbox&quot; value=&quot;74&quot; checked /&gt;&lt;/th&gt;<br />
    &lt;td width=&quot;155&quot;&gt;ID_1&lt;/td&gt;<br />
    &lt;td width=&quot;144&quot;&gt;&lt;form id=&quot;form1&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;&quot;&gt;<br />
      &lt;label&gt;<br />
        &lt;input type=&quot;text&quot; name=&quot;os[]&quot; id=&quot;os&quot; value=&quot;iOS&quot; /&gt;<br />
      &lt;/label&gt;<br />
    &lt;/form&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
  &lt;tr&gt;<br />
    &lt;th scope=&quot;row&quot;&gt;&lt;input name=&quot;target&quot; type=&quot;checkbox&quot; value=&quot;75&quot; checked /&gt;&lt;/th&gt;<br />
    &lt;td&gt;ID_2&lt;/td&gt;<br />
    &lt;td&gt;&lt;form id=&quot;form2&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;&quot;&gt;<br />
      &lt;label&gt;<br />
        &lt;input type=&quot;text&quot; name=&quot;os[]&quot; id=&quot;os2&quot; value=&quot;Andoird&quot;/&gt;<br />
      &lt;/label&gt;<br />
    &lt;/form&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
  &lt;tr&gt;<br />
    &lt;th scope=&quot;row&quot;&gt;&lt;input name=&quot;target&quot; type=&quot;checkbox&quot; value=&quot;76&quot; checked /&gt;&lt;/th&gt;<br />
    &lt;td&gt;ID-3&lt;/td&gt;<br />
    &lt;td&gt;&lt;form id=&quot;form3&quot; name=&quot;form1&quot; method=&quot;post&quot;  action=&quot;&quot;&gt;<br />
      &lt;label&gt;<br />
        &lt;input type=&quot;text&quot; name=&quot;os3&quot; id=&quot;os3&quot; value=&quot;Beta&quot; /&gt;<br />
      &lt;/label&gt;<br />
    &lt;/form&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
  &lt;tr&gt;<br />
    &lt;th scope=&quot;row&quot;&gt;&lt;input name=&quot;target&quot; type=&quot;checkbox&quot; value=&quot;77&quot; checked /&gt;&lt;/th&gt;<br />
    &lt;td&gt;ID-4&lt;/td&gt;<br />
    &lt;td&gt;&lt;form id=&quot;form4&quot; name=&quot;form1&quot; method=&quot;post&quot; action=&quot;&quot;&gt;<br />
      &lt;label&gt;<br />
        &lt;input type=&quot;text&quot; name=&quot;os[]&quot; id=&quot;os4&quot; value=&quot;Window&quot; /&gt;<br />
      &lt;/label&gt;<br />
    &lt;/form&gt;&lt;/td&gt;<br />
  &lt;/tr&gt;<br />
&lt;/table&gt;<br />
<br />
                      ID_1                                                                                                         ID_2                                                                                                         ID-3                                                                                                         ID-4                                                                                   <br />
<br />
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>giaosucan</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239426</guid>
		</item>
		<item>
			<title>header not working, Do you see why?</title>
			<link>http://www.webmaster-talk.com//showthread.php?t=239409&amp;goto=newpost</link>
			<pubDate>Tue, 21 May 2013 00:55:40 GMT</pubDate>
			<description><![CDATA[Hello everyone. I'm trying to make a very basic login page. I wanted to use the headers to redirect the user to ether the index.php if they are...]]></description>
			<content:encoded><![CDATA[<div>Hello everyone. I'm trying to make a very basic login page. I wanted to use the headers to redirect the user to ether the index.php if they are logged in or back to the login page if they failed to login. So I tried this code and it will not redirect the user. It will log you in, or not if you username and password are not right. I also made sure there is no html on this page only php, also I'm not getting any error codes. Any help would be nice and thanks for your time.<br />
 <br />
 <br />
 <br />
 <br />
 <br />
&lt;?php<br />
session_start();<br />
$loggedinuser=$_SESSION['username'];<br />
include('../connect.php');<br />
$username = mysql_real_escape_string($_POST['username']);<br />
$password = mysql_real_escape_string($_POST['password']);<br />
 <br />
$sql = mysql_query(&quot;SELECT * FROM users WHERE username = '$username' AND password = '$password'&quot;);<br />
$numrows = mysql_num_rows($sql);<br />
 <br />
if ($numrows==1){<br />
session_start(); <br />
$_SESSION['username'] = $username;<br />
header('Location: ../index.php');<br />
 <br />
}<br />
else<br />
{<br />
header('Location: ../index.php?pages=login&amp;login=fail');<br />
 <br />
}<br />
 <br />
?&gt;</div>

]]></content:encoded>
			<category domain="http://www.webmaster-talk.com//forumdisplay.php?f=78">PHP Forum</category>
			<dc:creator>xwhitchx</dc:creator>
			<guid isPermaLink="true">http://www.webmaster-talk.com//showthread.php?t=239409</guid>
		</item>
	</channel>
</rss>
