HomeWeb application programmingPHP programmingPHP conditional syntax: inequalityPHP programmingPHP conditional syntax: inequalityBy Quinn McHenry0735ShareFacebookTwitterPinterestWhatsApp To determine if two values are not equal, use the inequality operator:if ($var1 != $var2) echo "Nope... not the same"; TagsphpShareFacebookTwitterPinterestWhatsApp Previous articlePHP comparison syntax: equalityNext articlePHP conditional syntax: greater thanQuinn 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 PHP programmingPHP: Get Form Data via POST and GET PHP programmingPHP: Find Length and Word Count of String PHP programmingPHP: Create an Array LEAVE A REPLY Cancel replyComment:Please enter your comment! Name:*Please enter your name here Email:*You have entered an incorrect email address!Please enter your email address here Website: Save my name, email, and website in this browser for the next time I comment. Most PopularSites Like 22Bet in the Philippines: The Best Alternatives April, 2025 BK8 Philippines Review: Hit or Miss? April, 2025 Betwinner Philippines: The Coolest Spot for Sport Enthusiasts April, 2025 Megapari Philippines Review: Ready to Snatch the Big Winnings? April, 2025 King Billy Casino Philippines Review: Join the Royal Court April, 2025 Load moreLATEST REVIEWSBetwinner Philippines: The Coolest Spot for Sport Enthusiasts April, 2025 King Billy Casino Philippines Review: Join the Royal Court April, 2025 River Belle Casino New Zealand Review: Hop on the Boat April, 2025 Load moreRecent 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! April, 2025 techylist on Get the Scoop on How to Use Twitter Moments in Just 5 Minutes! April, 2025 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