query differences Query analyzer vs php-file?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Obscurr

    query differences Query analyzer vs php-file?

    hi,

    I'm having trouble with a query. running it in SQL Server 7's Query
    Analyzer gives me the correct output, but when I put that code inside
    my php file it won't respond the same way. How come? The query:

    $query2 = "INSERT INTO bestilling (mid, orgid, bestilt)
    VALUES('$nymid' , '$orgid','1')";

    the last column(bestilt) will get the value NULL through my php, and 1
    (as I would like it to) through the Query analyzer

    obscurr
Working...