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:
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|
Rating: 7.22 Votes: 9
|Good Luck! If you need help AIM me at Anthony Kid x|
|Download the files used in this tutorial.|
|Download (0 kb)|
|More help? Search our boards for quick answers!|