<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Mysql storing quotes as &#039;]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4536&amp;type=atom" />
	<updated>2013-11-19T16:56:13Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4536</id>
		<entry>
			<title type="html"><![CDATA[Re: Mysql storing quotes as &#039;]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18477#p18477" />
			<content type="html"><![CDATA[<p>i dont see what&#039;s wrong. <br />&amp;# 039;&nbsp; stands for an apostrophe, it&#039;s normal for sql query to use apostrophe.<br />executed in php your query will provide something like :<br />INSERT INTO 2_sales_orders (order_no, type, debtor_no, trans_type, branch_code, customer_ref, reference, comments, ord_date, order_type, ship_via, deliver_to, delivery_address, contact_phone, freight_cost, from_stk_loc, delivery_date, payment_terms, total) VALUES (&#039;50&#039;,&#039;0&#039;,&#039;2&#039;, &#039;30&#039;,&#039;3&#039;, &#039;&#039;,&#039;auto&#039;,&#039;&#039;,&#039;2013-11-19&#039;, &#039;1&#039;, &#039;1&#039;,&#039;Ventas Al Contado&#039;,&#039;Km. 15.5 Carretera a Masaya.&#039;, &#039;55555555&#039;, &#039;0&#039;, &#039;DEF&#039;, &#039;2013-11-19&#039;,&#039;5&#039;,&#039;2300&#039;).<br />as long as there is no error in the execution&nbsp; of your erp, that should be fine.<br />you&#039;r talking about x_sql_trail, it&#039;s used to store all executed queries, for audit or tracking purposes. if you see it as an issue, you can always modify&nbsp; the function db_query($sql, $err_msg = null) (connect_db.php) to force using an apostrophe instead of&nbsp; &nbsp;&amp;# 039;</p>]]></content>
			<author>
				<name><![CDATA[ostertagi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18743</uri>
			</author>
			<updated>2013-11-19T16:56:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18477#p18477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mysql storing quotes as &#039;]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18474#p18474" />
			<content type="html"><![CDATA[<p>Hello. I apologize if this is not the correct place to ask this, but why are my SQL queries being saved inside X_SQL_TRAIL tables with the single quotes represented as &amp;#039; For example:</p><p>INSERT INTO 2_sales_orders (order_no, type, debtor_no, trans_type, branch_code, customer_ref, reference, comments, ord_date,<br />&nbsp; &nbsp; &nbsp; &nbsp; order_type, ship_via, deliver_to, delivery_address, contact_phone,<br />&nbsp; &nbsp; &nbsp; &nbsp; freight_cost, from_stk_loc, delivery_date, payment_terms, total)<br />&nbsp; &nbsp; &nbsp; &nbsp; VALUES (&amp;#039;50&amp;#039;,&amp;#039;0&amp;#039;,&amp;#039;2&amp;#039;, &amp;#039;30&amp;#039;,&amp;#039;3&amp;#039;, &amp;#039;&amp;#039;,&amp;#039;auto&amp;#039;,&amp;#039;&amp;#039;,&amp;#039;2013-11-19&amp;#039;, &amp;#039;1&amp;#039;, &amp;#039;1&amp;#039;,&amp;#039;Ventas Al Contado&amp;#039;,&amp;#039;Km. 15.5 Carretera a Masaya.&amp;#039;, &amp;#039;55555555&amp;#039;, &amp;#039;0&amp;#039;, &amp;#039;DEF&amp;#039;, &amp;#039;2013-11-19&amp;#039;,&amp;#039;5&amp;#039;,&amp;#039;2300&amp;#039;)</p><p>This is very annoying. Is there anyway to fix this? Thank you. I am using version 2.3.18.</p><p>Bosco</p>]]></content>
			<author>
				<name><![CDATA[bmontenegro]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18477</uri>
			</author>
			<updated>2013-11-19T00:49:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18474#p18474</id>
		</entry>
</feed>
