Search found 7 matches
- Mon Jul 13, 2009 10:31 am
- Forum: PHP - Code
- Topic: Enabling / Disabling Buttons Public Use.
- Replies: 1
- Views: 159
Enabling / Disabling Buttons Public Use.
Ok I will explain what I've done and what I want. My site is a tournament, I made a clan wars page, when a team register a clan war each team must press 1 button (Join), that gives us 2 buttons, but these buttons must be enabled only if a moderator is on. I tried javascript, I Used a button to enabl...
- Mon Jun 01, 2009 9:48 pm
- Forum: PHP - Code
- Topic: Value disappears on Refresh
- Replies: 8
- Views: 570
Re: Value disappears on Refresh
Ok tyvm
- Sun May 31, 2009 6:45 pm
- Forum: PHP - Code
- Topic: Value disappears on Refresh
- Replies: 8
- Views: 570
Re: Value disappears on Refresh
umm is that the only way? I mean the cookie can be lost when they erase their history and well I got some troubles with my databases that's why Iwas looking another way, maybe something that can really modify the html tags idk.
- Sun May 31, 2009 3:33 pm
- Forum: PHP - Code
- Topic: login redirect code
- Replies: 6
- Views: 12670
Re: login redirect code
Code: Select all
if(empty($_POST['username']) || empty($_POST['password'])) {
echo "<font color=\"white\">Sorry, you have to fill in all forms</font>";- Sun May 31, 2009 3:30 pm
- Forum: PHP - Code
- Topic: Value disappears on Refresh
- Replies: 8
- Views: 570
Re: Value disappears on Refresh
No Bro, let's do it step by step so you'll get the point: When Tournament Registration is up: User Login He goes to Tournament Page There is a button that is named Add (it is suppouse to register the username on the tournament bracket field, that field is the text field) and it adds his username on ...
- Sun May 31, 2009 2:36 pm
- Forum: PHP - Code
- Topic: Value disappears on Refresh
- Replies: 8
- Views: 570
Re: Value disappears on Refresh
<form><input type="text" name="readonly-field" readonly onfocus="this.blur()" /><input type="button" value="Add" onClick="N2.value = '<?php echo $_SESSION['username']; ?>', this.disabled=true" id="submitN2" /></form> This:onClick...
- Sat May 30, 2009 10:20 am
- Forum: PHP - Code
- Topic: Value disappears on Refresh
- Replies: 8
- Views: 570
Value disappears on Refresh
<form><input type="text" name="readonly-field" readonly onfocus="this.blur()" /><input type="button" value="Add" onClick="N2.value = '<?php echo $_SESSION['username']; ?>', this.disabled=true N7." id="submitN2" /></form> Well tha...