SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    The best way to create my fields.

    Hi,
    I am really REALLY not knowledgeable when it comes to MySql (unfortunatly). I am trying to write a PHP scrip that will handle templates. In other words, I will have to store XHTML tags... What is the best to create a field for this purpose?

    Thank you very much.


  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,014
    Mentioned
    53 Post(s)
    Tagged
    2 Thread(s)
    VARCHAR if it will always be 255 characters or less, e.g. for <title>...</title>

    TEXT for larger blocks of code
    r937.com | rudy.ca | Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    gimme the uuuuuuuuuuu duuudie's Avatar
    Join Date
    Feb 2004
    Location
    Switzerland
    Posts
    2,253
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok thanks rudy. I expected that but I was sure that I wan't missing any 'special trick'


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •