Mods, this might need to be in the PHP area, but I think it’s more of a AS question.
I am trying to send htmlText to a php file which then the php file will store the htmlText data in a mysql database. If need be I can post the php. It doesn’t save htmlText. It will store text but not htmlText
modBTN.onRelease = function(){
var tableN:String = _root.holderAll.subholder.changeUsed.xmlTextUsed;
var newxpos:Number = foundationMC.editItems.specificItem.box._x;
var newypos:Number = foundationMC.editItems.specificItem.box._y;
var newWidth:Number = foundationMC.editItems.specificItem.box._width;
var newHeight:Number = foundationMC.editItems.specificItem.box._height;
var newWords:String = foundationMC.editItems.specificItem.box.htmlText; <--- only this doesn't work
var selectedElement:String = foundationMC.editItems.id.toString();
statusArea.text += accessPointMain+"contentTextModInfo.php?tableName="+tableN+"&newxpos="+newxpos+"&newypos="+newypos+"&newWidth="+newWidth+"&newHeight="+newHeight+"&newWords="+newWords+"&selectedElement="+selectedElement + '
'
var sendPHP:LoadVars = new LoadVars();
var resultsPHP:LoadVars = new LoadVars();
sendPHP.sendAndLoad(accessPointMain+"contentTextModInfo.php?tableName="+tableN+"&newxpos="+newxpos+"&newypos="+newypos+"&newWidth="+newWidth+"&newHeight="+newHeight+"&newWords="+newWords+"&selectedElement="+selectedElement, resultsPHP, "POST");
resultsPHP.onLoad = function(success:Boolean){
statusArea.text += "Element Changes Saved" + '
'
}
}