Jump to content

Recommended Posts

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?!?

Link to comment
https://forums.phpfreaks.com/topic/271689-in-need-of-help/
Share on other sites

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 by Christian F.
Link to comment
https://forums.phpfreaks.com/topic/271689-in-need-of-help/#findComment-1397961
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.