Re: sytax errors

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

 



babu wrote:
Hi,
could someone please check where the sytax error is in these statements. $sqlstmt= "EXEC sp_addlogin ".$adduser." , ".$addpass;
$sqlstmt1= "EXEC sp_adduser  @loginame= ".$adduser." , @name_in_db= ".$adduser;
$sqlstmt2= "GRANT CREATE TABLE TO ".$adduser;
$sql=mssql_query($sqlstmt);
$sql1=mssql_query($sqlstmt1);
$sql2=mssql_query($sqlstmt2);

Didn't php give you a line number?

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@xxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux