Re: [PHP] MSSQL 7.0 and PHP

2001-10-24 Thread James Cave
> varchar only accepts values up to 255 (so does char) I've found this too .. MS-SQL probably ceil()s the parameter in the table create statement to 255 without throwing an error. Have a quick look at the column you've created and you'll probably find it's a char(255). > To get larger than tha

RE: [PHP] MSSQL 7.0 and PHP

2001-10-23 Thread Nick Richardson
y, October 23, 2001 7:59 PM To: [EMAIL PROTECTED] Subject: [PHP] MSSQL 7.0 and PHP I'm using php to retrieve a Query from a SQLServer 7.0 database. My code is this one: $base = mssql_select_db($db,$conexion); $sql="SELECT MarcasSolicitante FROM Marcas"; $result = mssql_query(

[PHP] MSSQL 7.0 and PHP

2001-10-23 Thread Franco Breciano
I'm using php to retrieve a Query from a SQLServer 7.0 database. My code is this one: $base = mssql_select_db($db,$conexion); $sql="SELECT MarcasSolicitante FROM Marcas"; $result = mssql_query($sql,$conexion); while ($myrow = mssql_fetch_array($result)) { $mensaje= $myrow["MarcasSolici