Re: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Karl DeSaulniers
e parsed? Are there side effects to be expected when using only single quotes? From php.net is where I have got this so far. Also http://www.w3schools.com is very helpful. Thanks very much for all your help!!! Best regards, Cor -Original Message----- From: flashcoders-boun...@chattyfig.figle

RE: [Flashcoders] HTML in Datagrid component

2012-08-08 Thread Cor
oun...@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
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 you

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 Cor
HTMLFormat($encoded) { //for displaying the data FROM mysql $html_decoded = html_entity_decode(stripslashes($encoded)); return $html_decoded; } function writeItem($k, $v) { global $xmlOutput; $xmlOutput .= "\t\t<" . $k . ">" . mysqlToHTML

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 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-07 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-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 $s

RE: [Flashcoders] HTML in Datagrid component

2012-08-07 Thread Cor
st 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($orig

Re: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Karl DeSaulniers
ers-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
ember 2011', '19', '14', '', ''); -Original Message- From: 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: [Fl

RE: [Flashcoders] HTML in Datagrid component

2012-08-06 Thread Cor
x27;, '11 november 2011', '19', '14', '', ''); -Original Message- From: 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 Lis

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 stringToMysqlFormat($original_i