HomeWeb application programmingPHP programmingPHP conditional syntax: inequality PHP programming PHP conditional syntax: inequality By Quinn McHenry 0 802 Share FacebookXPinterestWhatsApp To determine if two values are not equal, use the inequality operator: if ($var1 != $var2) echo "Nope... not the same"; Tagsphp Share FacebookXPinterestWhatsApp Previous articlePHP comparison syntax: equalityNext articlePHP conditional syntax: greater than Quinn McHenryQuinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York. RELATED ARTICLES AI Coding How to Use Cursor for WordPress Development AI Coding Best AI Coding Tools for WordPress Developers in 5th June 2026 AI Coding Best AI Coding Tools for Beginners in 5th June 2026 Most Popular How to Debug Code with AI in 2026 How to Use GitHub Copilot in VS Code How to Build a SaaS MVP with Lovable How to Build a Website with AI (Step-by-Step Guide) How to Use Cursor for WordPress Development Load more LATEST REVIEWS Betwinner Philippines: The Coolest Spot for Sport Enthusiasts June, 2026 King Billy Casino Philippines Review: Join the Royal Court June, 2026 River Belle Casino New Zealand Review: Hop on the Boat June, 2026 Load more Recent Comments techylist on How to Create a Save Collection on Instagram Techylist on Get the Scoop on How to Use Twitter Moments in Just 5 Minutes! June, 2026 techylist on Get the Scoop on How to Use Twitter Moments in Just 5 Minutes! June, 2026 Alexzander E. Aguilar on How to Insert and Remove the SIM Card in an iPhone Glenn Thomas on How To Deploy ISPAC File & SSIS Package From Command Line Buck on How to Turn On and Off Automatic Updates in Windows 10 Anna Sue Edwards on How to View Facebook Login History Dante on How Do I Copy Text from a Password Protected Word Document? Darrin on How To Stop All Friend Requests On Facebook William McCoy on How To Change Thumbs Up on Facebook Messenger