/    Sign up×
Community /Pin to ProfileBookmark

3 Step Form / Page

I have a page which I want to have step 1. step 2 and step 3.

Ideally all on the same page. If nothing is selected it’s on step 1.

So,

“`
if (!isset($_POST[‘student1’])){
// this is step 1;
}elseif (!isset($_POST[‘student2’])){
// second step
} else {
// last step
}
“`

But in addition to have a student ID. I need to also check an actual student has been found

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@MolnarovaHelenaNov 20.2022 — Thanx!
Copy linkTweet thisAlerts:
@ginerjmNov 20.2022 — So you have some form input that has a value in it that you check. Great. Now you are saying that you need to check for a student. Alright - what do you want US to do for you? We usually help people out with their code but there's nothing here that you need help with. Yet.
×

Success!

Help @kiwis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.1,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...