Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Nightwolf629

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    1,146

    Re: php script help...

    the URL does not set the variable itself. You need to pull it out of the $_POST or $_GET array first.

    In this case you are using GET.



    <?php
    if (isset($_GET['name'])){
    $name =...
  2. Thread: PHP form

    by Nightwolf629
    Replies
    6
    Views
    1,200

    Re: PHP form

    Its is reloading the page, but it shouldn't be. It should just be going to 'portal-submit-rpc.php'.
    It is important to note that even though the page looks like it just reloads... the...
  3. Thread: PHP form

    by Nightwolf629
    Replies
    6
    Views
    1,200

    Re: PHP form

    there is nothing on that page that could redirect to the first one.
    here is the code:



    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
  4. Thread: PHP form

    by Nightwolf629
    Replies
    6
    Views
    1,200

    PHP form

    I am having a strange issue with this form built in PHP and html:




    <form name="submit_call" id="submit_call" method="post" action="rpc/portal-submit-rpc.php" >
    <?...
  5. Replies
    10
    Views
    5,684

    Re: AJAX not working with Firefox

    THANK YOU!!!!!!!!!!!


    that fixed it... wow, i feel like a fool wasting all this time over a case sensitivity issue.

    thank you SOOOOOO much PeejAvery, you are a lifesaver!
  6. Replies
    10
    Views
    5,684

    Re: AJAX not working with Firefox

    I tried your code, needed to make 1 small change (the final else did not need a comparison).

    But sadly, I had the same result.

    IE6 works fine with it, but Firefox will not.
  7. Re: The multi-part identifier could not be bound.

    Seems like a lot of things could cause that.

    Not sure what it could be myself, but this was suggested for this error on another forum:

    1) Check all qualifiers (all owners and tables and...
  8. Replies
    10
    Views
    5,684

    Re: AJAX not working with Firefox

    Ok, looks like the http request object is being created ok.
    I proved this with the alerts, but I still have the same issue.

    So i figure something else must be wrong with the rest of my...
  9. Replies
    3
    Views
    3,221

    Re: PHP Notice: Undefined Index

    i think this is what you want:



    if (isset($_GET["Ex"]))
    {
    if ($_GET["Ex"] == "false") echo "</pre>";
    }
  10. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    no problem, glad to help
  11. Replies
    10
    Views
    5,684

    Re: AJAX not working with Firefox

    I was returning the ro object in the second example i posted before.


    i just copied in your code and it still does not work.

    Still works in IE6 though, nothing in firefox.


    ... im at...
  12. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    correct,

    the "else if" that is used to set the variable to 0 would no longer be needed
  13. Replies
    7
    Views
    2,259

    Re: Problem in using Sum in SQL

    Ok, you have me pretty confused now...


    Did you try anything I suggested?
    Are you still having a problem?

    ...Im pretty sure you never even asked a question.
  14. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    That will work, but there is a simpler way.

    The problem is that if the checkbox does not get marked, the p# does not get a value.

    The easy fix is to declare p3-p10 as =0 in the begining of...
  15. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    Come on now... I would have figured you would get this part on your own. Its pretty much the same problem you just fixed.

    Add up the values of all your checkboxes, and you get 34.

    You need...
  16. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    as for the calculate button,

    replace "return (total_price);" with this:


    document.getElementByID('total_price').value = total_price;
  17. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    the name property determines the radio groups, not the id



    <fieldset name="General">
    <legend class="alignleft">General</legend>
    <p>
    <input name="General" id="General_0"...
  18. Re: how to create multiple array variable in a loop

    I am familiar with php, but I have never used perl

    In this case though, you want to go with PeejAvery's suggestion, and use a multi-dimensional array.

    you cannot use the $j variable in the way...
  19. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    Sorry... don't know how i missed that about the checkboxes.

    Anyways, the id for each element must be different.

    So you shouldn't have 4 radio inputs with id = "General"

    maybe try: id =...
  20. Replies
    7
    Views
    2,259

    Re: Problem in using Sum in SQL

    actually... now that I look at it again,

    you would need to run sub-queries for the SUM()'s
    you can't just tack on a where statment after them.




    SELECT B,C,D,E,
    ((SELECT SUM(F) FROM...
  21. Replies
    7
    Views
    2,259

    Re: Problem in using Sum in SQL

    One problem I notice is your where statement for the second SUM():

    where A= 'George' and A ='Kevin'

    this will always be 0, because 'George' does not = 'Kevin'
    you are probably looking for:
    ...
  22. Replies
    31
    Views
    4,497

    Re: uncheck box and subtract/add value

    First of all, getElementById will, well, get the element by id.

    all of your elements are described by the name property, but they have no id property.

    Secondly, the checkboxes that have the...
  23. Replies
    10
    Views
    5,684

    Re: AJAX not working with Firefox

    Thank you for your help PeejAvery

    first I tried this:



    function createRequestObject() {
    var ro;
    try {ro = new XMLHttpRequest();}
    catch(e) {
  24. Replies
    10
    Views
    5,684

    AJAX not working with Firefox

    This AJAX works fine in IE 6, but nothing happens in Firefox


    This is the html of the page:


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"...
Results 1 to 24 of 24


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center