从select1字段1插入field1,field2,field2仅填充1个字段(Inserting into field1,field2 from a select field1, field2 populates only 1 field)
我从
SELECT field1, field2
插入一个表,但只填充field1而不是** field2。$query_settings = "INSERT INTO email_sent (field1, field2) SELECT field1, field2 FROM field_id WHERE id='$x'";
我可能会失踪什么?
I am inserting into a table from
SELECT field1, field2
, but only field1 is populated not **field2.$query_settings = "INSERT INTO email_sent (field1, field2) SELECT field1, field2 FROM field_id WHERE id='$x'";
What possibly could I be missing?
原文:https://stackoverflow.com/questions/10683091
最满意答案
TextField html文本非常有限,这也是Adobe发布TLFTextFields的原因,它可以让您更好地控制字段中元素的布局。 我亲自使用它,并使用图像,链接等从一个文本域中进行完整的聊天。
资源:adobe: http : //help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/text/TLFTextField.html
教程: http : //flashsimulations.com/2010/09/10/handling-image-loading-in-tlf-textflow-and-textfield/
TextField html text is very limited and thats why Adobe released TLFTextFields which will give you much more control over the layout of elements in the field. I have personally used it and have made entire chats out of one textfield with images, links etc.
resource: adobe: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/text/TLFTextField.html
tutorial: http://flashsimulations.com/2010/09/10/handling-image-loading-in-tlf-textflow-and-textfield/
相关问答
更多-
img标记在actionscript3 TextField中无法正常工作(img tag is not working properly in actionscript3 TextField)[2022-04-05]
TextField html文本非常有限,这也是Adobe发布TLFTextFields的原因,它可以让您更好地控制字段中元素的布局。 我亲自使用它,并使用图像,链接等从一个文本域中进行完整的聊天。 资源:adobe: http : //help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/fl/text/TLFTextField.html 教程: http : //flashsimulations.com/2010/09/10/handli ... -
您的问题(或至少其中一个)是您的代码只会删除最新的StoneSplash 。 因此,如果您在启动和结束动画之间单击很多次,则只会删除最后一次单击的动画。 这是因为您使用全局var( stoneSplash )来引用splash,它会被覆盖到新的。 你需要在石头上添加一个启动参考,或者创建一个字典,这样你就知道哪个石头与哪个石头相关。 这将是一种方式: if (children[i].currentFrameLabel == "Splash") { stoneSplas ...
-
ActionScript2如何?> ActionScript3的学习曲线?(How's the ActionScript2 -> ActionScript3 learning curve?)[2023-07-24]
您可能已经看到了as2 - > as3迁移文档 ? 当然,一些语法已经改变了,但是如果你知道as2,那么写as3根本不会成为问题。 一开始可能会出现一些奇怪的事情,但这只是检查文档以找到新的方式。 如果你通过as1&as2攻击你自己,as3可能会导致一些头痛,因为它更严格(不允许你做任何你不应该做的事情);) 在不到一周的时间内你可能会对as3很好。 You've probably already seen the as2 -> as3 migration doc? Sure, some syntax ha ... -
一般来说,这是不可能的,因为如果你不在某个时间轴中使用你的声音,它甚至不会被导出到swf。 如果你在时间轴中使用它(因此它被导出到swf),可以通过解析原始swf字节在运行时通过一些第三方库/ as3反编译器提取它,但我不建议这样做 - 它不稳定,系统资源消耗殆尽。 设置链接要容易得多,顺便说一下你为什么不想那样做? In general it's not possible, because if you don't use your sound in some timeline it will not e ...
-
使用actionscript3和Adobe AIR添加gameCenter功能(Adding gameCenter functionality with actionscript3 and Adobe AIR)[2023-09-22]
这个页面有一些很好的AIR移动工具,包括Game Center扩展(70美元) http://www.milkmangames.com/blog/tools/ This page has a few good tools for AIR to mobile, including a Game Center extension ($70) http://www.milkmangames.com/blog/tools/ -
试试这个班 package com.whatever { //Imports import flash.display.Shape; import flash.display.Sprite; import flash.geom.Rectangle; import flash.events.MouseEvent; //Class public class AlertBox extends Sprite { //Vars protected var box:Shape; prote ...
-
要将文本的某些部分设置为粗体,您必须以令人讨厌的方式执行此操作:TextFormats。 像这样; var t:TextField = new TextField(); t.text = "this is bold"; var f:TextFormat = new TextFormat(); f.bold = true; t.setTextFormat(f, 0, 4); // start at character 0, end at character 4 addChild(t); 这将输出以下内 ...
-
Actionscript使TextField.htmlText中的图像可以点击吗?(Actionscript make image in TextField.htmlText clickable?)[2022-12-13]
你可以用标签包围它。 像这样: var tt:String = ''; var tf:TextField = new TextField; tf.htmlText = tt; tf.addEventListener("link",clickHandler); addChild(tf); 然后在回调中: public function clickHandler(e:TextEvent):void{ ... -
好的,你可以对AS3类的任何属性使用基本的getter / setter语法。 例如 package { public class PropEG { private var _prop:String; public function get prop():String { return _prop; } public function set prop(value:String):void { ...
-
首先是function launchSWF(vBox, vFile):void {未关闭。 您还可以在函数内部使用函数,如果单击大括号开始和结束的行来跟踪它们,这些函数很容易解决。 我看不出你说的错误有什么问题,但我猜这不是所有的代码。 如果您使用Flash Professisonal,则可以使用permit debugging来显示错误所在的行。 编辑:请注意这还没有经过测试,因为我正在我的手机上写出代码。 话虽如此,现在应该可行: var container:MovieClip; var current ...