Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6655023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:27:44+00:00 2026-05-26T01:27:44+00:00

Trying to write some PHP pseudocode for a recruitmentposter to hang at my university.

  • 0

Trying to write some PHP pseudocode for a recruitmentposter to hang at my university.

The idea is to make readers walk through a list of requirements in their head and go to the QR code if they think they fit the description.

Unfortunately I have virtually no experience @ PHP and therefore am having some difficulty figuring out the following three things:

  1. Do I need to use $post(value of …) to ‘retrieve’ their personal information or is simply stating the variable/bool enough?

  2. Can I use an array like I did in $skills? Basically I want readers to imagine the following: skilltype | myskill

  3. Is assigning a bool value for the array entries of $interests correct like this? Here I’d want readers to think: Interest | personalboolvalue

It would be no surprise to me if this is complete and utter nonsense but it’s what I produced after about an hour and a half of sleep-deprived searching. I’d be ever grateful if anyone could shed some light on the matter.

<?php

$skills = array ("PHP" => $level, "HTML5" => $level, "CSS3" => $level, "SQL" => $level);

$interests = array ("iOS" => $bool, "start_up" => $bool, "money" => $bool);

if ($skill[0, 1, 2, 3] == "expert") {
    if ($interests[0, 1] == TRUE && $interests[2] == FALSE) {
        if ($interested && $entrepreneur && $concrete_exp && $willing_to_commit) {
            echo "Please go to /images/qrcode.png";
        }
    }
}

?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:27:45+00:00Added an answer on May 26, 2026 at 1:27 am

    Full working solution with nice HTML:

    <?php
    // form submission haldling
    if (isset($_POST["submit"])) {
        if (isset($_POST["skills"]) &&
                isset($_POST["interests"]) &&
                $_POST["skills"] == array("PHP", "HTML", "CSS3", "SQL") &&
                $_POST["interests"] == array("iOS", "start_up")) {
            header("location: /images/qrcode.png");
        } else {
            echo "We are not interested by your profile.";
        }
    }
    
    $skills = array("PHP", "HTML", "CSS3", "SQL", "World of Warcraft");
    $interests = array("iOS", "start_up", "money");
    ?>
    
    <form name="poll" action="" method="POST">
        <fieldset>
            <legend><h2>Skills</h2></legend>
            <?php foreach ($skills as $skill) : ?>
                <div>
                    <input type="checkbox" name="skills[]" id="<?php echo $skill ?>" value="<?php echo $skill ?>">
                    <label for="<?php echo $skill ?>"><?php echo $skill ?></label>
                </div>
            <?php endforeach; ?>
        </fieldset>
        <fieldset>
            <legend><h2>Interests</h2></legend>
            <?php foreach ($interests as $interest) : ?>
                <div>
                    <input type="checkbox" name="interests[]" id="<?php echo $interest ?>" value="<?php echo $interest ?>">
                    <label for="<?php echo $interest ?>"><?php echo $interest ?></label>
                </div>
            <?php endforeach; ?>
        </fieldset>
        <input type="submit" name="submit"/>
    </form>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write some PHP to upload a file to a folder on
I'm struggling with some SQL/php syntax issues here. I'm trying to write two functions.
I'm trying to write a custom session persister in PHP. But for some reason
I'm not a php expert so I'm having some trouble trying to write a
I'm trying to write some kind of parser in PHP: it receives a text
I'm trying to write some PHP that will read a CSS file, find all
I'm trying to write a makefile to package up some PHP scripts. I would
I'm trying to write an excel file from php, and I need that some
I'm a PHP developer trying to write some C++. I'm having trouble with assigning
I'm trying to write some C# code to get to a specific folder in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.