EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

Re: ezBlock listed as installed by EzPortal
June 06, 2018, 11:18:36 am

Re: ezBlock listed as installed by MamaTea
June 06, 2018, 10:54:41 am

Re: ezBlock listed as installed by MamaTea
June 06, 2018, 10:38:48 am

ezBlock listed as installed by MamaTea
June 06, 2018, 10:31:32 am

Re: Surface theme by EzPortal
May 03, 2018, 07:12:33 am

Re: Surface theme by lazo50
May 03, 2018, 07:01:42 am

Surface theme by lazo50
April 30, 2018, 10:22:07 am

Re: Adding php actions to a ezBlock by EzPortal
March 13, 2018, 09:13:03 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Author Topic: HTML block vs PHP Block  (Read 3021 times)

0 Members and 1 Guest are viewing this topic.

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
HTML block vs PHP Block
« on: September 30, 2014, 10:05:17 pm »
I am attempting to write a block that will allow me to display simple information and images.  I can get the basic information input through < parameter > blocks to display through echo commands but I am having trouble with the images.  Am I missing something really easy? Every time I mix in a bit of HTML to handle the images, I receive "ezBlock unable to run PHP syntax error!"

I apologize for being new at this...

Offline fobnicat

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: HTML block vs PHP Block
« Reply #1 on: September 30, 2014, 10:23:42 pm »
I figured it out.

Forgot the ; and a '

simple stuff...

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1177
  • Karma: 63
Re: HTML block vs PHP Block
« Reply #2 on: September 30, 2014, 10:24:54 pm »
Good to know. Always keep html code in an echo for blocks think it works best that way.
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
4754 Views
Last post April 28, 2010, 12:37:29 pm
by Nickhead
12 Replies
6060 Views
Last post July 27, 2010, 02:54:11 pm
by Maxx
0 Replies
3045 Views
Last post November 09, 2010, 10:06:17 pm
by sluggo2u
1 Replies
4900 Views
Last post December 11, 2010, 07:21:34 am
by Guardian
4 Replies
3853 Views
Last post February 06, 2012, 06:30:36 pm
by negative_energy

+-SMF Gallery

Quick Menu








Members Online

15 Guests, 0 Users
Powered by EzPortal