Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
PHP Equals to 1000 Show 1
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Berk" data-source="post: 410513" data-attributes="member: 63611"><p>Hlo </p><p>so i've been helping a friend and i got stuck somewhere.</p><p></p><p>What I want to actually do is if $user->points equals to 1000 it should show 1 at somewhere.</p><p>Code I tried: </p><p>[PHP]</p><p><?php if($user->points == 1000) { echo "1"; }?></p><p>[/PHP] </p><p></p><p>This is pain. I know. This is pain as fuck. Like i know there is somewhat better way to do this but I don't know what. </p><p>I hope all those makes sense. </p><p>ty </p><p>berk aka bitch</p></blockquote><p></p>
[QUOTE="Berk, post: 410513, member: 63611"] Hlo so i've been helping a friend and i got stuck somewhere. What I want to actually do is if $user->points equals to 1000 it should show 1 at somewhere. Code I tried: [PHP] <?php if($user->points == 1000) { echo "1"; }?> [/PHP] This is pain. I know. This is pain as fuck. Like i know there is somewhat better way to do this but I don't know what. I hope all those makes sense. ty berk aka bitch [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
PHP Equals to 1000 Show 1
Top