PDA

View Full Version : Release: news-section including comments


Projektil
05 Jul 2001, 10:40
hi, i'v got a small hack for you. the script reads the content of a forum directly from the database and displays the threads and replys. the hack is based on (i forgot that) a old hack.
you can enter the length of the message after it is shortent.

sorry, no demo, we use it in out extranet.

the code:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



just save it as xxx.php:p

Projektil
05 Jul 2001, 10:45
look at it

Projektil
05 Jul 2001, 10:46
single news display

dost
05 Jul 2001, 12:41
Great hack thanks!

ztsky
05 Jul 2001, 15:24
It seemed an error:
Parse error: parse error, expecting `')'' in c:\apache\htdocs\vb201\shownews.php on line 69

JohnM
05 Jul 2001, 16:44
lol



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



try:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

JohnM
05 Jul 2001, 16:50
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------





Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

Projektil
06 Jul 2001, 08:28
but this was the first time i used php and mysql because i´m a flash5-actionscript/javascript/dhtml developer. TKS for your input...