www.webdeveloper.com

Search:

Type: Posts; User: cmartino

Search: Search took 0.01 seconds.

  1. Fatal error: Out of memory even though memory_limit set to -1

    Hello fellow developers,

    I've written a php script that scans through LOADS of folders and files and generates a word document with tables that list files and folders if they match certain...
  2. Woops! str is supposed to be a and b...

    Woops! str is supposed to be a and b respectively, and I guess it would be better to split on " X " instead of just the space.

    Per your inquiries, I changed my code to this and it worked! Thanks...
  3. [RESOLVED] adding custom table sorting procedure

    I have a javascript file that is used to sort my html table. All of the standard data types are being sorted correctly. For example, I have columns of numbers, alphanumeric characters, and dates that...
  4. Replies
    0
    Views
    425

    pass javascript variable

    Hello All,

    I have a website using php, javascript, and html. My php page displays page1.html in the browser. Some text is displayed on the page that the user can edit by clicking on the 'Edit...
  5. Replies
    3
    Views
    3,991

    Thanks for the info burnme! Is it possible to...

    Thanks for the info burnme!

    Is it possible to dictate where javascript will output the text from document.write? For example, if I want the text to show up on the page in a particular place, how...
  6. Replies
    3
    Views
    3,991

    pass javascript variable to html

    Hello,

    I have the following form with a dynamically created select drop down menu:



    <form method="post" name="submit" action="my_file.php" accept-charset='UTF-8'>
    <select...
  7. Update: I changed the second sql statement...

    Update:

    I changed the second sql statement line to



    $stmt = mysqli_prepare($this->db_conn, "select risk_no, date, time, user, details from risk_logs where date = '?' and risk_no = ? and...
  8. Commands out of sync; you can't run this command now

    Hello All,

    I have the following code that gets log entries and compiles them into an array for viewing later:



    function get_risk_logs($risk_no, $group_id) {
    // get dates first
    ...
  9. Oh! No, I didn't! Good catch SparoHawk. I made...

    Oh! No, I didn't!

    Good catch SparoHawk. I made that change and everything seems to be working properly now. I also used Math.floor(totalMlic * 100) / 100; to truncate the summations to 2 decimal...
  10. Can you send me your finalized code so I can...

    Can you send me your finalized code so I can compare it to mine in order to find out why my total_most_likely_impact cost is not updated automatically?
  11. Nevermind... I see what you did with the array. =)

    Nevermind... I see what you did with the array. =)
  12. is this var multiplyBy = ['', 0.1, 0.2, 0.4,...

    is this


    var multiplyBy = ['', 0.1, 0.2, 0.4, 0.6, 1];
    likelihood = multiplyBy[likelihood];


    supposed to take the place of this?
  13. I wish I could do that, but I need those values...

    I wish I could do that, but I need those values to stay as they are because they are used elsewhere for various things =/.

    However, I tried the following and it seemed to work:



    if...
  14. Also, when the user inputs an entry into one of...

    Also, when the user inputs an entry into one of the high impact cost fields, is there a way to check and make sure that the user has selected a radio button? That was I can prevent the most likely...
  15. Thanks for the help! I implemented the code...

    Thanks for the help!

    I implemented the code you listed, and it didn't seem to work properly. I need to multiply the mostLikelyImpactCost.value by a value associated with the likelihood value the...
  16. Is there a way to print out the error from var...

    Is there a way to print out the error from
    var form = field.form; ?

    The code that I am using now is working exactly as it should, so I am curious.
  17. [RESOLVED] use onchange to change two fields?

    Before I describe my issue, here is my code.

    html:



    <table>
    <tr>
    <td align="right" width="20%"><b>Likelihood:</b></td>
    <td align="left" colspan="3">
  18. Nevermind. I came up with a solution. Thanks...

    Nevermind. I came up with a solution. Thanks anyways!
  19. [RESOLVED] auto populate html form w/ javascript

    Hello All,

    I have a form where the number of input fields (lets call them B through N) is determined by the length of a php array. Above those input fields is another field (lets call this field...
Results 1 to 19 of 19
HTML5 Development Center



Recent Articles