Hi Bill,
Many thanks for posting that PHP script the other day to assist me in creating a database, unfortunately when I clicked on your link I got an error message. I have since managed to download and install phpMyAdmin and with my limited MySQL knowledge I think I have created a database called 'trivia' and a table called 'questions', the SQL is below if you want to run your eye over it or you spot a mistake?
CREATE TABLE questions (
ID int(11) NOT NULL auto_increment,
Question blob NOT NULL,
AnswerA tinyblob NOT NULL,
AnswerB tinyblob NOT NULL,
AnswerC tinyblob NOT NULL,
CorrectAns tinyblob NOT NULL,
PRIMARY KEY (ID)
) TYPE=MyISAM;
I have changed the text fields in the Flash movie to correspond to the variables in the database. So I suppose what I need now is a php script to link to the database and I would be really grateful of any help here. I would like to fill my databsae with say 100 questions, and each trivia game would have 10 questions, so that if the user played the game again straight away they would get 10 randomly different questions from the database. Am I right in thinking then that when I have the php script I just use the loadVariablesNum command in the Flash movie like this example
filename="trivia.php"
loadVariablesNum (filename, 0);
I really appreciate your time and patience on this !
webtoonist