Spiderbloke Posted December 6, 2012 Share Posted December 6, 2012 So I am doing this mock test for my course and i have a question which has stumped me and i'm at my wits end, I have created the database using a php script and then go on to populate the database as it says to in the question, the next part is what confuses me "Once the datbase has been setup, write a PHP script that will connect to the database and print out all the rows "id" and the DECRYPYED (using ROT13) output from the "animal" category". You will see in the decrytped animal category, the name of well known animals. In the questions below you have to associate the animals you can see with thier "id" number."I have no idea on what to write for the script or anything close, can someone please help me figure out the script?!? Quote Link to comment https://forums.phpfreaks.com/topic/271689-in-need-of-help/ Share on other sites More sharing options...
Christian F. Posted December 6, 2012 Share Posted December 6, 2012 (edited) You'll want to look at the mysqli class and the rot13 () function, for the PHP side. For the MySQL side you should look into AUTO_INCREMENTS, CREATE TABLE, INSERT INTO and SELECT. If you have any more specific questions we'll be able to provide you with more assistance, but we will require some code to really be of help. Edited December 6, 2012 by Christian F. Quote Link to comment https://forums.phpfreaks.com/topic/271689-in-need-of-help/#findComment-1397961 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.