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
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
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
;
}
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
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
...@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
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) {
...@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
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
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
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?
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
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
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
14 matches
Mail list logo