<?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>Code400 -The Support Alternative - PHP</title>
		<link>http://www.code400.com/forum/</link>
		<description>RPG commands and functions show with 
their PHP equivalents .... 
A great resource would be
directly from the horses mouth...
http://php.net/</description>
		<language>en</language>
		<lastBuildDate>Tue, 07 Sep 2010 00:49:42 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.code400.com/forum/images/misc/rss.png</url>
			<title>Code400 -The Support Alternative - PHP</title>
			<link>http://www.code400.com/forum/</link>
		</image>
		<item>
			<title>PHP TO RPG CONVERSION - What is a subfile in PHP?</title>
			<link>http://www.code400.com/forum/showthread.php/9593-PHP-TO-RPG-CONVERSION-What-is-a-subfile-in-PHP?goto=newpost</link>
			<pubDate>Wed, 25 Aug 2010 11:53:26 GMT</pubDate>
			<description>The most difficult thing I find about venturing into PHP (being in RPG for 15 years) is what is the translation. 
  
For example my Assembly file has 3 Jobs and percents (or of course, any assembly could have any number of jobs): 
  
 
Code: 
--------- 
  
Assembly Job   Percent 
A1020    11020 20</description>
			<content:encoded><![CDATA[<div>The most difficult thing I find about venturing into PHP (being in RPG for 15 years) is what is the translation.<br />
 <br />
For example my Assembly file has 3 Jobs and percents (or of course, any assembly could have any number of jobs):<br />
 <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"> <br />
<font face="Courier New"><font size="2">Assembly Job&nbsp;  Percent</font></font><br />
<font face="Courier New"><font size="2">A1020&nbsp; &nbsp; 11020 20</font></font><br />
<font face="Courier New"><font size="2">A1020&nbsp; &nbsp; 11030 40</font></font><br />
<font face="Courier New"><font size="2">A1020&nbsp; &nbsp; 11060 40</font></font></code><hr />
</div> I connect and show in php like this:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">while(db2_fetch_row($queryexe)) <br />
{<br />
if($haverecs=='false'){print (&quot;&lt;b&gt;The $assembly assembly is assigned to the following-must equal 100%:&lt;/b&gt;\n&quot;);<br />
print(&quot;&lt;br&gt;&lt;/br&gt;&quot;);}<br />
$haverecs='true';<br />
$jobasy = db2_result($queryexe, 'TMASSY');<br />
$jobnum = db2_result($queryexe, 'TMJOBNO');<br />
$jobper = db2_result($queryexe, 'TMPCT');<br />
$total = $total + $jobper;<br />
$n++;<br />
$alljobs[$n] = $jobnum;<br />
$allpcts[$n] = $jobper;<br />
//Put the results in an HTML table.<br />
print(&quot;&lt;tr bgcolor=#ffffff&gt;\n&quot;);<br />
print(&quot;Job: &quot;);<br />
print(&quot;&lt;td&gt;$jobnum&lt;/td&gt;\n&quot;);<br />
print(&quot;&lt;td&gt;&amp;nbsp&amp;nbsp&amp;nbsp&lt;/td&gt;\n&quot;);<br />
print(&quot;&lt;input type='text' value=$jobper name='jobper' id='jobper' size=3&gt;\n&quot;);<br />
print(&quot;%&quot;);<br />
print(&quot;&lt;br&gt;&lt;/br&gt;&quot;);<br />
print(&quot;&lt;/tr&gt;\n&quot;);<br />
}</code><hr />
</div> As you can see the percent is in an input field and the user can change them (subfile to me).<br />
 <br />
How do I get the new values back to process them and update the file? I am trying to store the originals in an array, but now what?<br />
 <br />
Tammy Bond</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/60-PHP">PHP</category>
			<dc:creator>TBOND</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9593-PHP-TO-RPG-CONVERSION-What-is-a-subfile-in-PHP</guid>
		</item>
		<item>
			<title>PHP and AS400</title>
			<link>http://www.code400.com/forum/showthread.php/9584-PHP-and-AS400?goto=newpost</link>
			<pubDate>Mon, 23 Aug 2010 18:30:18 GMT</pubDate>
			<description>what is new for PHP accessing the AS400 (regular Physical and Logical files) 
 
what about Zend Core, is it reliable and popular these days? 
 
How can I start on this? 
 
Thanks for any response 
 
Jorge</description>
			<content:encoded><![CDATA[<div>what is new for PHP accessing the AS400 (regular Physical and Logical files)<br />
<br />
what about Zend Core, is it reliable and popular these days?<br />
<br />
How can I start on this?<br />
<br />
Thanks for any response<br />
<br />
Jorge</div>

 ]]></content:encoded>
			<category domain="http://www.code400.com/forum/forumdisplay.php/60-PHP">PHP</category>
			<dc:creator>jorge</dc:creator>
			<guid isPermaLink="true">http://www.code400.com/forum/showthread.php/9584-PHP-and-AS400</guid>
		</item>
	</channel>
</rss>
