RE: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Cor
...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: dinsdag 7 augustus 2012 22:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Shooting in the dark, but try this. function stringToMysqlFormat($original_input) { //for inserting the data INTO mysql

Re: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Karl DeSaulniers
Ooh Sry, brain fart.. :P Try this.. function stringToMysqlFormat($original_input) { //for inserting the data INTO mysql $my_string = html_entities(mysql_real_escape_string($original_input)); return $my_string; } function mysqlToHTMLFormat($encoded) {

RE: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Cor
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 8 augustus 2012 9:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Ooh Sry, brain fart.. :P Try this.. function stringToMysqlFormat($original_input

RE: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Cor
...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 8 augustus 2012 9:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Ooh Sry, brain fart.. :P Try this.. function stringToMysqlFormat($original_input) { //for inserting the data INTO mysql

Re: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Karl DeSaulniers
; } Best regards, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 8 augustus 2012 9:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Ooh Sry

Re: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Karl DeSaulniers
Hey Cor, One thing I noticed was the string $xmlOutput was switching between single and double quotes. Probably want to stick to one or the other. Excuse the re-write, but this is how I would write that php. Don't know if it works as I can not test, but try this code and let me know what

RE: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Cor
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 8 augustus 2012 11:12 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Hey Cor, One thing I noticed was the string $xmlOutput was switching between single

Re: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Karl DeSaulniers
, Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: woensdag 8 augustus 2012 11:12 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Hey Cor, One thing I

RE: [Flashcoders] HTML in Datagrid component

2012-08-07 Thread Cor
Subject: Re: [Flashcoders] HTML in Datagrid component try this. function stringToMysqlFormat($original_input) { //for inserting the data INTO mysql $original_input = stripslashes($original_input); $string = mysql_real_escape_string($original_input

Re: [Flashcoders] HTML in Datagrid component

2012-08-07 Thread Karl DeSaulniers
Shooting in the dark, but try this. function stringToMysqlFormat($original_input) { //for inserting the data INTO mysql $original_input = urlencode(stripslashes($original_input)); $string = mysql_real_escape_string($original_input); return

[Flashcoders] HTML in Datagrid component

2012-08-06 Thread Cor
Hi All, I am having a problem with loading data correctly in my Datagrid. User input data is stored in MySQL through PHP with these functions: function stringToMysqlFormat($original_input) { //for inserting the data with special characters INTO mysql

Re: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Karl DeSaulniers
Can you post what some data looks like before you put it into mysql? On Aug 6, 2012, at 8:52 AM, Cor wrote: Hi All, I am having a problem with loading data correctly in my Datagrid. User input data is stored in MySQL through PHP with these functions: function

RE: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Cor
: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 6 augustus 2012 22:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Can you post what some data looks like before you put it into mysql

Re: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Karl DeSaulniers
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Karl DeSaulniers Sent: maandag 6 augustus 2012 22:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Can you post what some data looks like before you put it into mysql? On Aug 6, 2012, at 8

Re: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Karl DeSaulniers
augustus 2012 22:02 To: Flash Coders List Subject: Re: [Flashcoders] HTML in Datagrid component Can you post what some data looks like before you put it into mysql? On Aug 6, 2012, at 8:52 AM, Cor wrote: Hi All, I am having a problem with loading data correctly in my Datagrid. User input