LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-13-2003, 06:41 AM
roxan roxan is offline
Registered User
 
Join Date: Jun 2003
Posts: 5
Rep Power: 0
roxan is on a distinguished road
I can't get a value from a php-script.

Hi Forum,
my problem is, I can't get a value from a php-script.
I use a frameset.

in top-frame I use a swf with a menu and a slice mc.
if the user push a button on the menu to get page2 the slice mc act acording.

in the left-frame I have a tree-menu (sitemap) swf. If the user push a button on this menu to get page2, I would like that the slice mc in the topframe is changeing also acording to the menu-button.

now I thought I put in page2 the code:
PHP Code:

echo $pageid="2"
and in the the mc in on(event)
PHP Code:

on (release) {

function 
showValues() {
  
returnvals.text "returned from php: \n\n";
  for (
i in this) {
    
returnvals.text += " = " this[i] + "\n";
  }
}
}    

var 
= new LoadVars();
c.onLoad showValues;
c.load("plumber1.tpl.pp.php"); //the extension is correct becaus
                                               
smarty a template script expand the
                                               file of 
.php the origis 
                                               plumber1
.tpl.php 
for test I create a textfield, instancename 'returnvals' with the var of 'text'
If I run this only "returned from php:" appears in textfiled.

TIA
__________________
roxi
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't get XML.send to post variables to php script? lizbiz Web Platforms - PHP, JSP and .NET 3 03-26-2009 08:01 AM
PHP e-shop script. Rubix XML & Sockets 0 10-15-2006 11:47 PM
Flash news scroller and php news script?? kiwiboy14 Newbies 2 10-22-2004 08:22 AM
Running a PHP Script in the Background shaggy_LFC Flash MX ActionScript 2 06-09-2004 08:19 AM
Php script not working in version 4.1 and above chup Server Side 4 04-04-2003 04:27 AM




All times are GMT. The time now is 08:28 AM.