SunQuest
           Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 21st, 2003, 02:35 AM
stranger2all stranger2all is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: buckeye, az
Posts: 6 stranger2all User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to stranger2all
Question need help dynamically creating new field in flash mx/PHP database editing app

I need to add the ability for my users to add a new field to the view/edit form section of the flash front end of the flash/PHP/mySQL database editing application that I'm working on. Below is what I've done so far. If I'm going about it wrong, please help me figure out what I need to change about my approach. If I am doing it right, please help me figure out how to remedy this problem that I've come across.


I created an input field for the user to enter a label for the new field and defined that input field as having the variable name "inputData". I then dynamically create both a static text field("fieldLabel") and an input text field("newField") from a single button. I set the static text field's text property as a reference to the "inputData" variable so that the user's entered data will appear as a label for the new input field. I set the variable name of the new input text field to a reference to the "inputData" variable as well. The reason that I did this is that I'm wanting to add a variable to an array of variables that I'm passing to my PHP script that has the "inputData" string as the name and the string from the "newField" input text field as the value. The PHP script will then add the new field into the mySQL table and return the proper data to update the flash front end movie.

I'm pretty sure I'm at least close to being correct, but please, HELP!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > need help dynamically creating new field in flash mx/PHP database editing app


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway