1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Please explain what this mean: VARCHAR( 25 ) NOT NULL ,

Discussion in 'Databases' started by glasshoper, Feb 19, 2007.

Thread Status:
Not open for further replies.
  1. #1
    VARCHAR( 25 ) NOT NULL ,

    from update database.php

    can anyone explain one by one what varchar is and what that # 25 is and etc.

    can i start a new database.php with same VARCHAR( 25 ) NOT NULL ?
    SEMrush
     
    glasshoper, Feb 19, 2007 IP
    SEMrush
  2. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #2
    varchar is a datatype. It means it is used to store variable character. 25 means the length it allows you to input to that column. In this case, you can store UP TO 25 characters. Not null mean the column CANNOT have null value or "empty" value if you may think.

    can you start with new database.php? Yes you can.
     
    toby, Feb 19, 2007 IP
Thread Status:
Not open for further replies.