|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Jomes Smarty Rookie
Joined: 09 Jun 2004 Posts: 7 Location: VissticjCity
|
Posted: Wed Jun 30, 2004 7:51 am Post subject: mssql/ntext |
|
|
How can I use a ntext value in SMarty?
Greetz Jomes _________________ "Say 'what' again! Say 'what' again! I dare you! I double dare" |
|
Back to top |
|
mensi Smarty n00b
Joined: 29 Jun 2004 Posts: 4 Location: Switzerland -> Zug
|
Posted: Wed Jun 30, 2004 11:24 am Post subject: |
|
|
your question should be: "How can I retrieve a ntext value from a MS SQL DB with php?"
I solved this by casting the ntext field to a varchar or text field... _________________ kernel, n.: A part of an operating system that preserves the medieval traditions of sorcery and black art. |
|
Back to top |
|
Jomes Smarty Rookie
Joined: 09 Jun 2004 Posts: 7 Location: VissticjCity
|
Posted: Wed Jun 30, 2004 2:38 pm Post subject: |
|
|
Thanx for converting my question.
Now there is another question left.
How do i insert a textfield in a ntext field.
At this moment it only inserts a part of the text.
Greetz Jomes _________________ "Say 'what' again! Say 'what' again! I dare you! I double dare" |
|
Back to top |
|
mensi Smarty n00b
Joined: 29 Jun 2004 Posts: 4 Location: Switzerland -> Zug
|
Posted: Wed Jun 30, 2004 5:18 pm Post subject: |
|
|
check out the comments for mssql functions @ php.net
I think I saw something about setting the max char limit there... _________________ kernel, n.: A part of an operating system that preserves the medieval traditions of sorcery and black art. |
|
Back to top |
|
Jomes Smarty Rookie
Joined: 09 Jun 2004 Posts: 7 Location: VissticjCity
|
Posted: Thu Jul 01, 2004 8:15 am Post subject: |
|
|
Thnx, I shall check it out. _________________ "Say 'what' again! Say 'what' again! I dare you! I double dare" |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|