Delphi
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Tutorialized ForumsDesktop ProgrammingDelphi

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 Tutorialized Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 23rd, 2005, 06:26 AM
freddicy freddicy is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 17 freddicy New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
Array show undefined when trace

hi anyone
i am doing a project and i need to solve it as fast as possible hope anyone can help me with this error i will b very greatful

i had send data from flash to php to mysql and now i returning it back
but i am using two diff php on the sending and getting

but i had error on the array when i trace it i recieve undefined may i noe what had i done wrong

thanks thanks

Reply With Quote
  #2  
Old February 23rd, 2005, 09:54 PM
wences wences is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: India
Posts: 19 wences New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to wences
Please send the code so that we could help u on that.

Reply With Quote
  #3  
Old February 24th, 2005, 12:28 AM
freddicy freddicy is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 17 freddicy New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks for the help

i reallie appricate ur reply !!!

my code on flash will be as below
Quote:
on(press){
if(Nametxt.text !="" ){
trace(Nametxt.text);
senddata = new LoadVars();

senddata.name =Nametxt.text ;
senddata.Scores=Totalmark;
recievedata=new LoadVars();
senddata.sendAndLoad("http://localhost/score.php", recievedata, "POST");
Userscore = new Array();
Username=new Array();

recievedata.onLoad = function (success) {
if (success) {
trace ("Success!");
for (var i = 0; i<10; i++) {

Userscore[i]=0;
Userscore = recievedata.string.split(",");
Username = recievedata.string1.split(",");
trace(Userscore[i]);

}

}
else
{
trace("error");
}
}


thanks thanks
i am nit sure how can i trace the array that i had load data from php in flash ?
and i getting undefined all the time
wanna die le anyone help me?

Reply With Quote
  #4  
Old February 25th, 2005, 02:27 AM
freddicy freddicy is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 17 freddicy New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks

i think i had resolve my problem thanks for the offer hehe

Reply With Quote
  #5  
Old July 29th, 2005, 02:45 AM
recluse recluse is offline
Junior Member
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 1 recluse New User: is a brand new recruit and a unknown entity at this point. 
Time spent in forums: < 1 sec
Reputation Power: 0
Daily updated list of really functioning public proxy servers: URL

Reply With Quote
Reply

Viewing: Tutorialized ForumsDesktop ProgrammingDelphi > Array show undefined when trace


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 | 
  
 

IBM developerWorks




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