Hi guys!
I wanna set up a guestbook in flash with php and mysql and need a little help getting started
I know wery basic php and ewen less mysql:)
I have made an example of the layout in flash and now I wanna make that with php and mysql and need a little help with the logic how to set it up.
Im thinking of loading 10 entries at a time from the db depending on wich mc has been pressed (01 02 03 etc)
For example if you press 02 entries from 11-20 should load.
those button + plus the total text will be visible all the time so Im thinking of loading them at the beginning with one php file and then loading the php file for the entries depending on wich mc has been pressed.
I guees the total should be easy to display (propably just count the entries in the database and echo a variabel?) but anybody got an idea on how to count the entries and then count how many buttons there should be?
For example 56 entries will need 6 buttons.
I guess some kind of loop is needed?
To duplicate the mc in flash should I echo a variabel and convert it to a number in flash or maybe echo it as XML?
To load the entries Im thinking that each mc will have a variabel asigned to it that will be sent with loadVars and then somehow serverside deside on wich entries to echo back to flash.
Anybody got ani suggestions just let me know!