PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old June 12th, 2003, 07:44 AM
digital102 digital102 is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 15 digital102 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Flash and PHP

I have a mysql database and am using PHP throughout my site to access the database. On the homepage however there is a Flash nav bar that also needs to be updated through the database. All I need to update on the Flash nav bar are a couple of simple variables, a date and location.

If anyone could help me out with this that would be great.

Thanks in advance for your time!!!

Reply With Quote
  #2  
Old June 13th, 2003, 09:23 AM
milanvla milanvla is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 21 milanvla User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 54 m 25 sec
Reputation Power: 0
here we go:
in the first frame add this

loadVariables("test.php",this);

create oneMovieClip

here is action for MovieClip

on(data){
_root.time=time;
_root.date=date;
}

after that, make 2 dinamic text fields called time and date on the scene.

and finally here is how test.php file looks like

you code it as you like but when you start it , there should be something like this on the screen

time=16:00 AM&date=13 June 2003

so it is important to variables looks like here

php file can be like this:

<?
//code
$time=...
$date=...
echo "time=$time&date=$date";
?>

i hope it helps

regards and sorry for my bad english

Milan

www.kim-team.com

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Flash and PHP


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