1
mistik
having a problem with php
  • 2005/12/17 8:25

  • mistik

  • Just popping in

  • Posts: 24

  • Since: 2005/11/27


Sorry I am new to php, i am having a problem with this script to show up in a block on my webpage.

include("links.inc.php");

^^^^how would I get that to show up in a block?

2
m0nty
Re: having a problem with php
  • 2005/12/17 8:30

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


don't use brackets..

just use

include 'links.inc.php';

include_once might be better tho..

and make sure u set the block type to php once set on php, don't use opening or closing php tags '<?php' or '?>'

3
mistik
Re: having a problem with php
  • 2005/12/17 8:41

  • mistik

  • Just popping in

  • Posts: 24

  • Since: 2005/11/27


hey thanks man, it worked great

Login

Who's Online

78 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 78


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits