<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — get_post() vs check_value()]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8435</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8435&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in get_post() vs check_value().]]></description>
		<lastBuildDate>Sun, 06 Oct 2019 06:03:17 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[get_post() vs check_value()]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=36195#p36195</link>
			<description><![CDATA[<p>The <strong>function get_post($name, $dflt=&#039;&#039;)</strong> is defined in <strong>includes/ui/ui_controls.inc</strong>.<br />The <strong>function check_value($name)</strong> is defined in <strong>includes/ui/ui_input.inc</strong>.</p><p>In the former, a default non zero / non one value / null can be set whereas, in the latter the default value is hardcoded as 0 or 1.</p><p>In the former, <strong>isset()</strong> is used for blank check whilst in the latter an <strong>empty()</strong> check is used.</p><p>Each one uses themselves recursively for arrays.</p><p>Hence in FA, are these two equivalent across PHP versions:<br /><strong>get_post(&#039;tax_included&#039;, 0)</strong><br />and<br /><strong>check_value(&#039;tax_included&#039;)</strong><br />?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 06 Oct 2019 06:03:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=36195#p36195</guid>
		</item>
	</channel>
</rss>
