Phew! I know it's been hard so far, but we are almost done with the php coding, so let's continue!
Now, we need to make a page where the Flash file can load variables from, and this variable will be the number of hits!
So, make a new page named getdata.php.
Open this file, and include nothing but this coding:
Whoa? What's with the echo .. and the &thits=..Well, I'll tell you ;)
First, as explained before, we select the number of hits with the SQL in the coding. But this part may be very knew to you:
echo "&thits=$row[hits]";
Well, first, the "echo" basically makes php say something in an HTML format, so if you were to put echo "Hello guys!", when you view the file, all you will see is Hello guys!.
Anyway, what's with the "&thits=$row[hits];" ?
| » Level Basic |
|
Added: 2004-09-08 Rating: 8 Votes: 8 |
| » Author |
| Good Luck! If you need help AIM me at Anthony Kid x |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!