ummm a bit of everything!...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
AndrewBacca
Forum Commoner
Posts: 62
Joined: Thu Jan 30, 2003 10:03 am
Location: Isle of Wight, UK

ummm a bit of everything!...

Post by AndrewBacca »

I am designing a web site for a local motorbike shop...

and I want to have a Flash front end, then then called .php files which in turn gets data from a mysql database and sends it back to the flash for displaying....

I know how to get the data from the database via the php file... but wont i dont know is how to get the flash to ask for the data from the php and for the php file to give the data to the flash part!

Ive looked everywhere for tutorials and example with no luck...

so if you can help ill be very grateful

thankyou
Andrew
User avatar
Slippy
Forum Contributor
Posts: 113
Joined: Sat Jul 12, 2003 11:31 pm
Location: Vancouver eh!

Post by Slippy »

What you want is to use the actionscript command "GETURL"

Which will allow you to POST/GET to and from any .php or .asp or whatever that you need.

Not sure if these will help (I didn't read them):

http://www.weberdev.com/ViewArticle.php3?ArticleID=77

If you are using flashMX then you might need to use LoadVars:

http://www.macromedia.com/devnet/mx/fla ... php02.html

Good Luck
User avatar
AndrewBacca
Forum Commoner
Posts: 62
Joined: Thu Jan 30, 2003 10:03 am
Location: Isle of Wight, UK

Post by AndrewBacca »

thx , they helped ive got it reading from the database.... now

how do i (if its possible) get it to use the html tags... like
<br>
etc , in the flash , so that when it reads it from the database it will compile it as IE does, if that makes any sence!

??

Andrew
User avatar
AndrewBacca
Forum Commoner
Posts: 62
Joined: Thu Jan 30, 2003 10:03 am
Location: Isle of Wight, UK

Post by AndrewBacca »

nm, ive found the little button!

Andrew
Post Reply