well that worked like a charm
thanks very much = )
User Profile
Collapse
-
-
thanks MUCH for that example ; )
but whenever it is like this
it doesnt 'submit' the form to do the actionCode:<form METHOD="POST" ACTION="login.php?ballaa"><input type="submit" value="test_button" onclick="this.disabled = true;"/></form>
guess i should of been more specific than button since your answer works just...Leave a comment:
-
Button to be unclickable after it is clicked
How exactly is this possible?
I have messed around with some javascript to try to do this before, but what I used never seemed to work
like after the user clicks it once, it becomes unclickable or vanishes completely would also be fine with me
This is just one irritating thing I can't get to work for me and non of the examples I've found onliny work either -
-
hello I was wondering about mysql performance
Right now I am in a VPS server, mysql constantly will run at 18% usage and slows the site down.
I was wondering what you guys think about a
INTEL P4 3.0GHz HT
1024MB DDR RAM
120GB 7200RPM Hard Drive
1500GB Bandwidth
CentOS Linux Operating System
100Mbps Port + 10 IP's (20 Max)
The site I run is php that constantly gets information and edits information... -
sorry wasnt sure what forum = )
anyways anyone have a clue? = )Leave a comment:
-
Executing a cronjob at n minutes after the hour
I don't knwo if this is the correct forum, but ill assume so since it is running php scripts ; )
Anyways I need a script to run every 10 mins on the 5, so :05, :15, :25,:35,:45,:55
I know the syntax for running every 10 mins on the 10 is */10, but how do i make it do it on the 5? or 8 = )
maybe it isn't possible to do them all with one command I just don't want to clutter up my cronjobs with things... -
thanks
ill try the
onclick="this.f orm.submit();th is.disabled=tru e;"
and sorry for wrong forumLeave a comment:
-
How to make button disappear after clicked
onclick="this.h ref='javascript :void(0)';this. disabled=1">
ive tried that, but it renders it useless and doesnt make it 'submit'
it should be able to work, but so the user cannot submit it twice if they tried to 'machine gun' type thing using their mouse to submit repeatedly
I guess this can be considered an HTML problem not PHP but im using it in php in the sense that the button clicked triggers... -
how to make a button disappear after it is clicked once
onclick="this.h ref='javascript :void(0)';this. disabled=1">
ive tried that, but it renders it useless and doesnt make it 'submit'
it should be able to work, but so the user cannot submit it twice if they tried to 'machine gun' type thing using their mouse to submit repeatedly
I guess this can be considered an HTML problem not PHP but im using it in php in the sense that the button clicked triggers... -
alright well i got it to work but i think the coding is horrible lol
also some of the code might not be needed persay lol i used most of it for troubleshooting
<td id="organizatio nList">
<div><b>Crews <?=$array[6]?></b></div><select name="crew_idz" id="crew_id" size="10" width="20">
<?...Leave a comment:
-
i couldnt get what i thought you said lol
<td id="crewList">
<div><b>Crews </b></div><select name="crew_idz" id="crew_id" size="10" width="20">
<?
$row = mysql_fetch_arr ay(mysql_query( "SELECT enemies FROM $tab[crew] WHERE id='$cid'"));
$row['array'] = $row[0];...Leave a comment:
-
ok ill try that out later today lol
hopefully i can get it working otherwise if anyone else can explain this in more details go ahead otherwise i think i understand what susen saidLeave a comment:
-
-
array needed to compare to other values
$row = mysql_fetch_arr ay(mysql_query( "SELECT enemies FROM $tab[crew] WHERE id='$cid'"));
$array = explode (",", $row[0]);
$crewupdate = mysql_query("SE LECT id,name,founder FROM $tab[crew] WHERE id>0 AND id!=$array[] ORDER BY name ASC;");
This doesn't yeild anyresults since you cant use '[]' in query, however i have tried just the name but that doesnt work,...
No activity results to display
Show More
Leave a comment: