Jump to content

Annyta

New Members
  • Posts

    2
  • Joined

  • Last visited

Annyta's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Please help me. I know this question is a beginner's question, now I am learning Switch Operator and I can't understand why my code doesn't work in browser. I asked on other forums this question but people there say that there are errors in every line and that I am a fool that I don't see it. But I don't see it. I tried to write it correctly, but I don't know why it doesn't work. Please tell to a fool one where is the mistake? HTML <!doctype html> <html> <meta charset = "utf-8"> <head> <body> <form action = "index.php" method="get"> <tr> <td>What do you you select?</td> <select name = "find"> <option value = "a"> A <option value = "b"> B <option value="c" > C </select></td></tr> <input type="submit" name="submit" value="Send My Posting" /> </form> </body> </html> PHP <?php $find = $_POST["find"]; switch($find){ case "a"; echo "you selected A"; break; case "b"; echo "you selected B"; break; case "c"; echo "you selected C"; break; ?>
  2. Annyta

    Website

    Hello. I am not so new to PHP. I have studied few lessons. But I want to ask you as professionals. What can PHP do on my website? If I want to be a developer I want to introduce my knowledge about PHP to the employer. I've already learned about types of variables, made a form on my website, but that will be definitely not enough to represent my skills in it. What can I do more on my website? To make it look nice I used css and js. I looked on Internet but could'n find a full list of PHP capabilities on websites. I want to represent my website as a project to show that I have a work experince.
×
×
  • 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.