Re: [PHP] sytax errors

2005-07-19 Thread Raz
> Its giving the line number. But actually i want to know the correct syntax > for concatenation. I think all there is some mistake in all the three > concatination statements. > No - there is no problem with any of the statements per se, but there may be when executed with $adduser, $addpass et

Re: [PHP] sytax errors

2005-07-19 Thread babu
Hi, Its giving the line number. But actually i want to know the correct syntax for concatenation. I think all there is some mistake in all the three concatination statements. so could some one check and give some idea. thanks John Nichel <[EMAIL PROTECTED]> wrote: babu wrote: > Hi, > > cou

Re: [PHP] sytax errors

2005-07-19 Thread Mark Rees
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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." ,

Re: [PHP] sytax errors

2005-07-18 Thread John Nichel
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($sqls

[PHP] sytax errors

2005-07-18 Thread babu
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=mss