Hi Cor,
I think it is because information added to a database is usually
escaped,
so when you pull it out, you get the escaped string instead of what
you originally typed.
Most, not all php coders, will put the string through something like
mysql_real_escape_string()
before inserting it
Hi Karl,
Thank you!
I already use mysql_real_escape_string() to write to my database.
And in fact I am reading the http://www.php.net/manual/... at the moment you
send your mail.
I do think it has to do with using URLVariables in Flash rather than my
database or PHP.
I have looked at the
OK, so when I change the output line in my PHP from:
print $response;
to
print returnString=$response;
It traces out a correct XML:
?xml version=1.0 encoding=UTF-8 ?
dataprojectproject_code![CDATA[1]]/project_codeproject_datum![C
Good to hear.
Best,
Karl
On Jul 21, 2011, at 2:34 AM, Cor wrote:
OK, so when I change the output line in my PHP from:
print $response;
to
print returnString=$response;
It traces out a correct XML:
?xml version=1.0 encoding=UTF-8 ?
dataprojectproject_code![CDATA[1]]/
The trace result of my DataProvider is:
data
project
project_code![CDATA[1]]/project_code
project_datum![CDATA[2011-07-19]]/project_datum
project_naam![CDATA[project naam 1]]/project_naam
project_omschrijving![CDATA[project omschrijving
1]]/project_omschrijving
project_werkzaamheden![CDATA[project
Cor skriver:
OK, so when I change the output line in my PHP from:
print $response;
to
print returnString=$response;
So flash expects a key-value pair!!!
Now the real question is, why is Flash expecting that format to begin
with? You shouldn't change your php code. You should change the
I just use Joel Hook's stuff. I wouldn't know if Lindquist's methods are
better, but Hooks classes work just dandy. I use any of the Signals-specific
stuff for Robotlegs like SignalMediator instead of Mediator, SignalCommand
instead of Command (though in general, you can just use Command) and
Thank you.
I have:
var myXML:XML = XML(e.target.data.returnString);
trace(myXML); outputs correctly:
--
data
project
project_code![CDATA[1]]/project_code
project_datum![CDATA[2011-07-19]]/project_datum
project_naam![CDATA[project naam 1]]/project_naam
Cor skriver:
Thank you.
I have:
var myXML:XML = XML(e.target.data.returnString);
You should have XML(loader.data).
Use the URLLoaderDataFormat.TEXT mode, not the
URLLoaderDataFormat.VARIABLES mode.
As for the ordering, did you request any specific order at any time in
the chain? You did
I was going to write a long email on reasons to avoid Zinc like the
plague, but don't have time.
Do some searches for negative reviews before plunking down your cash.
If you do use them, go into it with your eyes wide open. Using MDM Zinc
is one of the biggest mistakes our company ever
10 matches
Mail list logo