Re: need help with logical operator on my class

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



M> Are you sure that this function returns false?

M> mssql_query($sql, $this->connection)

function insert($tables, $fields, $values)
{
   $sql = "INSERT INTO $tables ($fields) VALUES $values";

   @mssql_query($sql, $this->connection) or $this->error_message($sql);
}


mssql_query($sql, $this->connection) it should be return true, because
if i check on Enterprise Manager, the data is do inserted. but php
keep execute $this->error_message($sql).

Markus



PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux