![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Search found 69 matches
- Mon Jun 29, 2015 1:15 pm
- Forum: General Chat
- Topic: jacek
- Replies: 20
- Views: 10153
Re: jacek
really good job you did there. ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Wed Jun 17, 2015 8:57 pm
- Forum: PHP
- Topic: Showing only number
- Replies: 4
- Views: 2731
Re: Showing only number
1. well i need to fit in that round in here but i dont know how because i alwas get some error. echo '<td align="center" width="20"><p class="credit" maxlength="4" >'.$row ['profit'].'$</p></td>'; 2. here is the whole code, last 3 rows are correct and i want t...
- Wed Jun 17, 2015 1:54 am
- Forum: PHP
- Topic: Showing only number
- Replies: 4
- Views: 2731
Re: Showing only number
And yes one more thing, here i dont know how to show numbers within the design. It shows when i do with this [syntax=php]$profit = $row['profit'] ; $ulog = $row['ulog'] ; echo $row['profit'] * $row['ulog'];[/syntax] but not with this [syntax=php]if($row['status']==1)echo '<td align="center"...
- Wed Jun 17, 2015 12:32 am
- Forum: PHP
- Topic: Showing only number
- Replies: 4
- Views: 2731
Showing only number
[syntax=php]echo '<td align="center" width="20"><p class="credit" maxlength="4" >'.$row['profit'].'$</p></td>'; [/syntax] With this i got a profit number like this 343.34. I want to display only 343 and .34 to be hidden, how can i do that? Hidden from the main...
- Tue Jun 16, 2015 4:35 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
You helped me to solve this problem, thanks alot! ![Smile :)](./images/smilies/icon_e_smile.gif)
![Smile :)](./images/smilies/icon_e_smile.gif)
- Sun Jun 14, 2015 7:57 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
I'm not sure what some of those word mean but you need to do a check using the query I posted above. Perhaps something like this [syntax=php] $result = mysql_query("SELECT COUNT(1) FROM `clanovi_njihovi_parovi` WHERE `racun` = {$racun} AND `datum` > DATE_SUB(NOW(), INTERVAL 1 DAY)"); $row...
- Sun Jun 14, 2015 5:32 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
This is how my code looks now. Im stucked at the point of limiting, i dont know what should i do first, where should i put select query if a user posted today and check if he posted. I dont know how to write that and where to write it. I tried with $today but its not working, as you see in the new c...
- Tue May 26, 2015 8:49 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
No no you missunderstand me i dont know how to make this script work, my bad. I dont know how to sort commands properly to get this working ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Fri Apr 24, 2015 12:18 am
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
I have a problem making this script work fine. I dont know how to compile it properly ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Tue Mar 24, 2015 12:51 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
I will try to explain again. I want to restrict unlimited posting. With this, everybody can post a football or basketball game. I want to have a number, 2, 3 or 1, and after they try to get over that number, they obtain error *You reached limit post of '3' or '2'* If you need translation of my words...
- Thu Mar 12, 2015 4:27 pm
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
I still need help for this, if needed i will explain what i need exactly. ![Sad :(](./images/smilies/icon_e_sad.gif)
![Sad :(](./images/smilies/icon_e_sad.gif)
- Thu Feb 12, 2015 9:36 pm
- Forum: PHP
- Topic: if < than 40 then change color
- Replies: 2
- Views: 2846
Re: if < than 40 then change color
Thanks, this worked, its solved! ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Mon Mar 10, 2014 5:46 pm
- Forum: PHP
- Topic: if < than 40 then change color
- Replies: 2
- Views: 2846
if < than 40 then change color
hey i have this [syntax=php] echo '<td align="center"><font style=color:lightblue size="2"><b>'.intval(100*$row['win']/$row['played']).'%</b></font></td>';[/syntax] this calculates % of won games i want to make a color to red when % is lower than 40%, yellow when is 40-60% and gr...
- Sun Feb 23, 2014 12:20 am
- Forum: PHP
- Topic: Limit to 1 post per day
- Replies: 19
- Views: 10470
Re: Limit to 1 post per day
so this is only to limit them to 1 post per day? what about if i want to limit them to 10 posts, and then if i wish, i simply change the post limit number to 5?
- Thu Jan 31, 2013 12:58 am
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11241
Re: cannot edit profile
there is a problem i cannot find any errors -.-
- Fri Jan 18, 2013 4:52 am
- Forum: General Chat
- Topic: Get payed by viewing ads everyday
- Replies: 3
- Views: 1695
Re: Get payed by viewing ads everyday
I'm not angry I'm used to all think the opposite of me thanks for your comment
- Tue Jan 15, 2013 4:43 pm
- Forum: General Chat
- Topic: Get payed by viewing ads everyday
- Replies: 3
- Views: 1695
Get payed by viewing ads everyday
It taks only 2 minutes to view 5 ads a day! there are proofs that money has been transfered!
all what you need is to register on this link removed and view those 5 ads every day for 2 minutes for all, if you get more refferers more money you will earn and then you can take them![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
all what you need is to register on this link removed and view those 5 ads every day for 2 minutes for all, if you get more refferers more money you will earn and then you can take them
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
- Sun Jan 13, 2013 6:00 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11241
Re: cannot edit profile
1 guy told me that i have to go through the check if the submit button is clicked in the form
- Sun Jan 13, 2013 5:47 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11241
Re: cannot edit profile
they do match [syntax=php]$checklogin = mysql_query("SELECT * FROM users WHERE username = '".$username."' AND password = '".$password."'");[/syntax]
- Sun Jan 13, 2013 12:49 pm
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11241
Re: cannot edit profile
its password no uppercase
- Sun Jan 13, 2013 2:11 am
- Forum: PHP
- Topic: cannot edit profile
- Replies: 89
- Views: 11241
Re: cannot edit profile
it is i changed