DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • November 19, 2018, 03:25:29 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Some clarifications?  (Read 2837 times)
0 Members and 1 Guest are viewing this topic.
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« on: February 23, 2006, 11:39:38 PM »

Okay, i know this isn't quite the place to ask this, but since it was brought up here and as an amateur coder I want to know the difference... can someone please explain what the difference between these three are:

text

textarea

varchar
« Last Edit: February 24, 2006, 12:11:55 AM by XChrisX » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Jdrid
Guest
« Reply #1 on: February 23, 2006, 11:46:20 PM »

I could give a little insight to that question, though I am no expert.

text would be just what i am typing now. THIS is text, jfhaslf is text.

textarea where you type the actual text into, such as a field.

varchar I can't help ya here

And it isn't really a good place to ask it, try in the coding help section, with a quote onto where Dannic and Nightborne and Kala used it.
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #2 on: February 24, 2006, 12:10:02 AM »

can someone please explain what the difference between these three are:
I'll try... Smiley

text
Is a database field type for (my)sql databases, allowing to store ASCII characters (up to 65535 Bytes I think...) Also a text can be interpreted as a string. A "list" (technically: an array) of characters.

textarea
is the HTML tag to create an area where text (see above, without restriction of the actual size) can be entered. In lotgd this command can be used to create such a textarea, when entered as a type for a pref / setting.

varchar
Again, a (my)sql field type, which allows to store up to 255 Bytes of information. The handling of these is less resource-intensive than for texts. There are some other differences, which are not really important for now... Smiley
Logged

Running for more than three years now:
Jdrid
Guest
« Reply #3 on: February 24, 2006, 12:18:12 AM »

I was kinda off there huh?Didn't know it had to do with the actual sql code, though it was Php...or even just regular old text Cheesy
Logged
XChrisX
Global Moderator
Mod God
*****
Offline Offline

Posts: 4647

Be aware of the squirrel!


View Profile WWW
« Reply #4 on: February 24, 2006, 12:46:51 AM »

You were right, too. (Though maybe slightly offtopic... Wink )
Logged

Running for more than three years now:
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
42 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search