www.webdeveloper.com

Search:

Type: Posts; User: JS=Freak

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: PHP Graph

    by JS=Freak
    Replies
    1
    Views
    583

    PHP Graph

    Hey everyone,

    I have a SQL query that pulls data from my database:


    $sql = "SELECT Log_Date, Log_Reading, Channel, Device_Code, Zone_Code FROM datalog
    WHERE Zone_Code =...
  2. Replies
    7
    Views
    1,143

    Hey Scriptage, Thanks for the reply. I can't...

    Hey Scriptage,

    Thanks for the reply. I can't seem to figure out how to use your coding. I found the following code on the web and just adapted it to my query. This just returns 0:


    // Using...
  3. Replies
    7
    Views
    1,143

    Can anyone please help??

    Can anyone please help??
  4. Replies
    7
    Views
    1,143

    Hi Scriptage, Thanks for the reply. I had a...

    Hi Scriptage,

    Thanks for the reply. I had a look at the page but this is not quite what I'm looking for. To explain a bit further, the consumption is not a calculation as such. I need the last...
  5. Replies
    7
    Views
    1,143

    Consumption Calculation

    Hey everyone,

    I'm pulling information from two tables into one. This is done to match up the searched reference number from the devices table to its channel in the datalog table. This is my latest...
  6. Replies
    8
    Views
    30,371

    Vic, You are a rock star! It works...

    Vic,

    You are a rock star! It works perfectly!!!!!!!




    God bless!

    Karen
  7. Replies
    8
    Views
    30,371

    Show / Hide div based on Radio button

    Hey everyone,

    I need help. I have two divs I want to show or hide based on which radion button is selected. These are my buttons:


    <input name="selection" type="radio" value="Silver Service"...
  8. Replies
    3
    Views
    826

    Hi Phill My problem is that I don't know where...

    Hi Phill

    My problem is that I don't know where to start with the coding. The query above doesn't really do what I have in mind.

    Can you help me with the coding?
  9. Replies
    3
    Views
    826

    Appending Suffix to duplicate rows

    Hey everyone,

    First off, sorry if this is maybe in the wrong forum. I wasn't sure where to post it.

    I have a system where users can send a parcel through adding all their info to several pages....
  10. Replies
    14
    Views
    5,174

    Ooooh, of course. I have a blank row in the...

    Ooooh, of course. I have a blank row in the database for the current session that only gets deleted after the user is finished with this page. Currently, I've set the table to ignore this row. It...
  11. Replies
    14
    Views
    5,174

    The first alert comes out blank and doesn't focus...

    The first alert comes out blank and doesn't focus anywhere. When I click on Ok for the "Please enter only numbers" alert, it does the sum correctly. Can I just comment the alert out? Will it affect...
  12. Replies
    14
    Views
    5,174

    Ok, so I've modified the code to this: var...

    Ok, so I've modified the code to this:


    var sum = 0;
    var valid = true;
    var inputs = document.getElementsByName('totalprice[]');
    for(q = 0; q < inputs.length; q++) {
    var...
  13. Replies
    14
    Views
    5,174

    Tried this code but I'm still getting a 0. Any...

    Tried this code but I'm still getting a 0. Any ideas?
  14. Replies
    14
    Views
    5,174

    Here's another screen dump of my page. You'll see...

    Here's another screen dump of my page. You'll see the two total price values on the right. Those two I want to add together.

    Does this help?
  15. Replies
    14
    Views
    5,174

    I'm not quite sure what you mean. The price isn't...

    I'm not quite sure what you mean. The price isn't hard coded. It's in an array. Same as with the weights and dimensions.
  16. Replies
    14
    Views
    5,174

    Thanks again for your help Fang. I've modified...

    Thanks again for your help Fang. I've modified the code and it runs fine but my sum is 0. It's not adding the values.

    Any ideas?
  17. Replies
    14
    Views
    5,174

    [RESOLVED] Sum of array values

    Hey everyone,

    I have a PHP page with a field for a person to specify how many parcels they want to post. On submit, the page generates a new form with dynamically created rows in a table depending...
  18. Replies
    8
    Views
    1,271

    Oh my word, Fang!! I cannot believe that I didn't...

    Oh my word, Fang!! I cannot believe that I didn't see that! It works like a charm now. Thanks again for all your help!!!!!


    Karen
  19. Replies
    8
    Views
    1,271

    Fang, thanks for all your help on this. Sorry to...

    Fang, thanks for all your help on this. Sorry to be hassling you so much. I've tried the code you suggested, now I get the following error:

    document.getElementByName(...)[...] is null or not an...
  20. Replies
    8
    Views
    1,271

    Here's my compete form. I have quite a few other...

    Here's my compete form. I have quite a few other fields in this form so I'm not sure if it's effecting the elements.length bit. The first field is to specify how many parcels you want to send. In...
  21. Replies
    8
    Views
    1,271

    Hi Fang, Thanks for your help. I've used the...

    Hi Fang,

    Thanks for your help. I've used the code above but when I click on calculate it still does nothing. My code now looks like this:



    for (var i = 0; i < document.form.elements.length;...
  22. Replies
    8
    Views
    1,271

    [RESOLVED] Javascript Arrays

    Hey everyone,

    I have a PHP page with a field for a person to specify how many parcels they want to post. On submit, the page generates a new form with dynamically created rows in a table depending...
  23. Replies
    5
    Views
    677

    Kor, you are a star! It works 100% now. Thanks...

    Kor, you are a star! It works 100% now. Thanks for pointing out the Number bit to me.


    Karen
  24. Replies
    5
    Views
    677

    Weight Calculation

    Can someone please help me with this calcuation? A person enters their height, length, width and weight of their parcel. The calculate button then runs the function below to calculate the volumetric...
  25. Replies
    3
    Views
    1,092

    Hi Kor, Thanks for your reply. Turns out I...

    Hi Kor,

    Thanks for your reply. Turns out I missed the last curly bracket to close the function.


    Thanks anyway!

    Karen
Results 1 to 25 of 49
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles