MaxLimit of posting articles, how?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MaxLimit of posting articles, how?

    Help coders, my site have 255 char to post in articles, then i edit the articles.Php and i put in all form the maxlenght of 5000 character, but its always post 255 char. Then i try to change artpost table and change the value of "text" to blob. . But its the same problem? How to change/edit to maxlenght the value of character that post in articles, thanks!

    #2
    Originally posted by arg0s12 View Post
    Help coders, my site have 255 char to post in articles, then i edit the articles.Php and i put in all form the maxlenght of 5000 character, but its always post 255 char. Then i try to change artpost table and change the value of "text" to blob. . But its the same problem? How to change/edit to maxlenght the value of character that post in articles, thanks!
    do some changes on your tables

    sample:
    Code:
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `tableprefix(ibwf)_artpost`
    --
    
    CREATE TABLE IF NOT EXISTS `tableprefix(ibwf)_artpost` (
      `id` int(100) NOT NULL AUTO_INCREMENT,
      `[COLOR="Red"][b]text[/b][/COLOR]` varchar([COLOR="Red"][b]5000[/b][/COLOR]) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '1' COMMENT '1',
      `crdate` int(100) NOT NULL DEFAULT '0',
      `artid` int(100) NOT NULL DEFAULT '0',
      PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    
    --
    -- Dumping data for table `tableprefix(ibwf)_artpost`
    --
    
    
    -- --------------------------------------------------------
    Last edited by huwad; 11.12.09, 06:55.

    Comment


      #3
      `text` varchar(5000) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL DEFAULT '1' COMMENT '1',
      try to use blob, then go to article.php search for 255
      Did I help you?
      You can help me too
      Your donations will help me finance my studies.

      Comment


        #4
        Originally posted by kei_ki7 View Post
        try to use blob, then go to article.php search for 255
        not in d script, its on his database tables..

        Comment


          #5
          ah ok, wrong mistake, by the way i used blob here or text
          Did I help you?
          You can help me too
          Your donations will help me finance my studies.

          Comment


            #6
            thanks! Sir, Huwad, i will try it, , thanks for helping even we have a little prob. Bout our member, ,
            @sir kei_ki7, i try the blob, but same problem, ,

            Comment


              #7
              Originally posted by arg0s12 View Post
              thanks! Sir, Huwad, i will try it, , thanks for helping even we have a little prob. Bout our member, ,
              @sir kei_ki7, i try the blob, but same problem, ,
              it will surely work.. dont 4get to upd8 your form in posting an article,,

              Code:
              <input name="formname" maxlength="5000">
              PHP Code:
              echo "<input name=\"formname\" maxlength=\"5000\"/>"
              or remove limit

              PHP Code:

              echo "<input name=\"formname\"/>"
              Code:
              -- --------------------------------------------------------
              
              --
              -- Table structure for table `tableprefix(ibwf)_artpost`
              --
              
              CREATE TABLE IF NOT EXISTS `tableprefix(ibwf)_artpost` (
                `id` int(100) NOT NULL AUTO_INCREMENT,
                `text` [B][COLOR="Red"]text[/COLOR][/B] NOT NULL,
                `crdate` int(100) NOT NULL DEFAULT '0',
                `artid` int(100) NOT NULL DEFAULT '0',
                PRIMARY KEY (`id`)
              ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
              
              --
              -- Dumping data for table `tableprefix(ibwf)_artpost`
              --
              
              
              -- --------------------------------------------------------
              and do same with cwart, readart, etc. and so on
              Last edited by huwad; 11.12.09, 11:31.

              Comment


                #8
                Ok, bro, , thanks, for helping, ,

                Comment

                Working...
                X