|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-03 11:41 UTC] php at electricsurfer dot com
[2003-06-03 12:16 UTC] php at electricsurfer dot com
[2003-06-03 16:42 UTC] php at electricsurfer dot com
[2003-06-03 18:48 UTC] fmk@php.net
[2003-06-03 19:44 UTC] philip@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 12:00:02 2025 UTC |
If you select a field with a column name that has more than 30 chars. Using mssql_fetch_assoc or mssql_fetch_row to fetch it will only return a key with the 1st 30 chars. ( Mysql functions work with longer column names ) <? // connect to db Here $result = mssql_query('select MyVeryVeryVeryVeryVeryVeryLongColumnName from table'); $row = mssql_fetch_assoc($result); // $row = array('MyVeryVeryVeryVeryVeryVeryLong'=>50) (only first 30 chars in key) ?>