write php function that acceptsany number and checks, if the number is even then the function should display that number and the next following 5 even numbers, if the number is odd then the function should display the number and the text following 10 odd numbers.
Abdulove -1 Newbie Poster
EvolutionFallen commented: Thanks for the homework assignment, but I'm not in school anymore. -1
Recommended Answers
Jump to PostSo, which part is the question?
How much PHP do you know so far, what PHP code do you have so far? DaniWeb isn't designed for you to get your homework done for you.
Show us your current progress, and then we can answer on a specific part of the …
All 4 Replies
Octet 45 Newbie Poster Featured Poster
Squidge commented: couldn't agree more +6
Squidge 101 Newbie Poster
IIM 163 Master Poster
masterjiraya -3 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.