dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: spirosan

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    6,823

    ok resolved

    $query = '/greatpeople/person/firstname[. = "$name"]'; (-> doesn't work)


    $query = "/greatpeople/person/firstname[. = '$name']"; (-> works fine)


    so it has to do with the quotation, don't...
  2. Replies
    6
    Views
    6,823

    how to pass "ALan" as a variable

    Hi

    Very usefulll example.

    I am trying though to pass Alan as a variable from a form and doesnt work
    you know why?

    the variable works outside the query but not inside:

    echo $name; ...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles