无法在 Flash 构建器 AMF 和 MySql 中将正文解析为有效的 XML/AMF/JSON
我已经在网上搜索过,但无法解决这个问题 由于我的编程能力较弱,我确实感到恐慌,并想知道也许我只是做错了,哈哈 只是想知道是否有人可以给我一些见解来解决我的问题! 我有一个 Flash Builder 4.5 网站,使用 AMF 连接到 MySql 数据库 我可以查询数据库以及删除、更新、搜索,甚至可以进行分页! 但是当涉及到插入一行数据时,我收到上面的错误消息 现在,即使我在 flash builder 中测试 php 脚本,一切都正常测试操作 所以我只需要有人告诉我我可以将 ValueObject 发送到 Mysql 还是我需要将其转换为其他东西? 由于我将其作为对象发送,但它仅插入前 2 个值,而其他 8 个值丢失,我在网络监视器中收到上述错误
在搜索此问题时,大多数提出此问题的人都没有'得不到答案。 该错误显示在网络监视器的响应中,那么这是php错误还是mysql错误?
I have search the net and am un able to resolve this issue
Due to my weak programming skills I do panic and wonder perhaps im just doing it wrong obviously lol
Just wondered if anyone could give me some insight to work out my issue!
i have a Flash Builder 4.5 web site connecting with AMF to MySql database
I can query the database as well as delete, update, search and i have even got pagination working!
But when it comes to inserting a row of data I get the above error message
Now every thing works even when I test the php script in flash builder Test Operation
So I just need someone to tell me can I send an ValueObject to Mysql or do i need to convert it into something else?
As im sending it as the object but its only inserting the first 2 values and the other 8 are missing and i get the above error in Network Monitor
On searching this issue most people that ask this question and don't get an answer.
The error is displayed in the response of Network Monitor so is the a php error or mysql?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我已经解决了问题。就像我仍然收到错误一样,但我想我知道为什么,但现在一切正常,所以我对此感到满意:)
并且我收到错误的原因是出于某种原因,我认为变量名并不重要通过不同的编程类型保持一致性,我只是假设编译器神奇地解决了这一切,哈哈。
因此,在 Flex 中我有 Country,在“Flash 构建器测试操作”中我有 Country,在我的 mysql 数据库中我有 CountryCode。我认为我仍然收到错误的原因是因为新创建的行中仍然有一些单元格保留为 NULL,因为这些单元格稍后会更新:)希望我花费了很多天的愚蠢错误能够帮助某些人:)
OK I have solved the problem. as in I still get the error but I think I know why but it all works now so I'm happy with that :)
and the reason I was getting the error was for some reason I didn't think that it mattered with variable name consistence through the different programming types, I just assumed that the compiler worked it all out by magic lol.
So in flex I had Country and in "Flash builder Test Operation" I had Country and on my mysql database I had CountryCode. The reason I think I still get the error is because there are still cells within the newly created row that are left NULL as these will be updated later :) hope my silly mistake that cost me many days will helps some one :)