Home / PHP Tips Generated By ChatGPT / Making Decisions with Conditional Statements in PHP Control the flow of your program with if-else statements. Source Code if ($age > 18) { echo "Adult"; } else { echo "Minor"; }