• 0

help on phpNews titles..plz


Question

i need help on finding out how to eliminate the problem with posting news in PHP on my site. Every time the characters get a little too long the end of the words get cut off. Does anyone know how to get rid of the character limit in PHP news posting??

im using this php news posting system http://www.chuck.uklinux.net/phpNews/

any help is appreciated thanks.

EDIT:heres an example from the site i run

title.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

edit the topic mysql table to varchar(100) or run this SQL code - its a modded one from the origional created one

CREATE TABLE news (

id int(8) unsigned DEFAULT '0' NOT NULL auto_increment,

topic varchar(100) NOT NULL,

date varchar(8) NOT NULL,

item longtext NOT NULL,

poster varchar(15) NOT NULL,

PRIMARY KEY (id)

);

or run this query in phpmyadmin-

ALTER TABLE `news` CHANGE `topic` `topic` VARCHAR(100) NOT NULL

hope that helps

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.