1
bokster
Re: Question About Custom Block...
  • 2007/7/19 14:15

  • bokster

  • Just popping in

  • Posts: 3

  • Since: 2007/3/1 1


Showcase17:

I got it to work..based on your advice. I don't know why it didn't work the first time.

I am not running the website locally. That is something I tried but there is a problem with database connection. Are you running and testing on your local machine?

Many thanks!



2
bokster
Re: Question About Custom Block...
  • 2007/7/16 15:05

  • bokster

  • Just popping in

  • Posts: 3

  • Since: 2007/3/1 1


I tried but it's still not working.I deleted the 2 lines as you adviced, kept echo "Hello World."; in, and posted it as a PHP Script in my block but I got this error message when I view the page :

"PHP Parse error: parse error, unexpected ':' in E:\Inet\wwwroot\small_business\class\xoopsblock.php(146) : eval()'d code on line 1 PHP Parse error: parse error, unexpected '<' in E:\Inet\wwwroot\small_business\class\xoopsblock.php(146) : eval()'d code on line 1""

Any ideas?

Thanks.

B



3
bokster
Question About Custom Block...
  • 2007/7/12 18:41

  • bokster

  • Just popping in

  • Posts: 3

  • Since: 2007/3/1 1


Hi all,

I need to insert some PHP codes in one of my custom blocks. I chose the Content Type as both HTML and PHP but it is not showing I have. Tried to echo "Hello World!" but it doesn't show as well.

Does anyone know the solution? Or another alternative to show PHP scripts?

Thanks.

B




TopTop



Login

Who's Online

253 user(s) are online (154 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits