User Profile

Collapse

Profile Sidebar

Collapse
mdburton
mdburton
Last Activity: Oct 13 '07, 04:34 AM
Joined: Mar 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • well that worked like a charm

    thanks very much = )
    See more | Go to post

    Leave a comment:


  • thanks MUCH for that example ; )


    but whenever it is like this

    Code:
    <form METHOD="POST" ACTION="login.php?ballaa"><input type="submit" value="test_button" onclick="this.disabled = true;"/></form>
    it doesnt 'submit' the form to do the action

    guess i should of been more specific than button since your answer works just...
    See more | Go to post

    Leave a comment:


  • mdburton
    started a topic Button to be unclickable after it is clicked

    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
    See more | Go to post

  • 8-58/10

    that worked out it seems

    thanks for the help!!! = )
    See more | Go to post

    Leave a comment:


  • mdburton
    started a topic hello I was wondering about mysql performance

    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...
    See more | Go to post

  • sorry wasnt sure what forum = )

    anyways anyone have a clue? = )
    See more | Go to post

    Leave a comment:


  • mdburton
    started a topic Executing a cronjob at n minutes after the hour

    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...
    See more | Go to post

  • thanks

    ill try the

    onclick="this.f orm.submit();th is.disabled=tru e;"

    and sorry for wrong forum
    See more | Go to post

    Leave a comment:


  • mdburton
    started a topic How to make button disappear after clicked

    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...
    See more | Go to post

  • 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...
    See more | Go to post

  • mdburton
    replied to array needed to compare to other values
    in PHP
    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">
    <?...
    See more | Go to post

    Leave a comment:


  • mdburton
    replied to array needed to compare to other values
    in PHP
    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];...
    See more | Go to post

    Leave a comment:


  • mdburton
    replied to array needed to compare to other values
    in PHP
    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 said
    See more | Go to post

    Leave a comment:


  • mdburton
    replied to array needed to compare to other values
    in PHP
    help = ( (10characters))
    See more | Go to post

    Leave a comment:


  • mdburton
    started a topic array needed to compare to other values
    in PHP

    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,...
    See more | Go to post
No activity results to display
Show More
Working...