Page 1 of 1

Insert INTO MS SQL

Posted: Mon Aug 23, 2004 9:08 am
by garethjennings
I'm currently building a php registration form but i'm pretty new to php and was wondering if anyone could give me a few pointers on how i insert into a ms sql database (not mysql) from a php form.

any help/example code would be much appreciated.

Thanks

Posted: Mon Aug 23, 2004 12:33 pm
by lostboy
same way, just use the mssql functions. The only fields to watch are data fields...php / mysql like yyy-mm-dd, mssql is 'merkin' and likes mm-dd-yyyy so you need to switch them up....

Posted: Tue Aug 24, 2004 9:40 am
by liljester
here you'll need this =) microsofts tsql language refrence.

http://msdn.microsoft.com/library/defau ... n_6lyk.asp