php mysql explained

This is a discussion on "php mysql explained" within the PHP Forum section. This forum, and the thread "php mysql explained are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jul 27th, 2005, 14:00
New Member
Join Date: Jul 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
php mysql explained

Can someone point me to a tutorial for a beginner using Flash PHP and Mysql? I found a few but they are quite nebulous. Thank you very much.





http://flashmailforms.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 28th, 2005, 03:34
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
You can find many tutorials about php & mysqy, then you could just find yourself a flash tutorial.

If you don't have any luck, pm me and I can send you one of the tutorials I have.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 28th, 2005, 09:54
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I think it's a lot easier to learn normal PHP and MySQL. I'll assume that you can do that, or already have knowledge of both PHP and MySQL.

The only problem involved therefore is actually communicating data to Flash. PHP and MySQL still talk to each other in exactly the same way. There are a few ways to talk to Flash though; you can use XML or send data directly to Flash using flashvars.

The concept is quite simple and very similiar to using forms or HTTP get vars on normal HTML pages.
Code: Select all
loadVariablesNum ("getdata.php?content=&"+aboutus, 0);
PHP can use the content variable just as it would normally, to retrieve data from MySQL. To return data, all it needs to do is echo (or print) data using the Flashvars notation.

eg:
Code: Select all
echo "_root.content=We are an interesting company&_root.CheckLog=1";
This sends two variables back to Flash - firstly it sends the variable 'content' and it also sends the variable 'CheckLog'.

Variables are denoted by &
_root. specifies that the variables will be in the root of your Flash movie (and not in a particular movieclip, data structure, etc).

If we wanted we could use:
&content=We are an interesting company&CheckLog=1
but this would place the variables wherever the loadVariablesNum function was called.

Technically, this should be all the information you need, I would however suggest that you checkout what I consider to be quite a good tutorial.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
php, mysql, explained

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySql help nashultz07 Databases 4 Jul 27th, 2007 09:11
Using PHP/MYSQL on Mac OSX jonnymorris Starting Out 0 Jul 5th, 2007 14:55
PHP/MySQL Web JobBot Job Opportunities 0 Dec 19th, 2006 14:10
Web Hosting Explained seek1 Hosting & Domains 0 Oct 11th, 2005 03:29


All times are GMT. The time now is 23:32.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42